diff options
author | Christian König <christian.koenig@amd.com> | 2024-07-19 17:24:14 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2024-07-25 14:05:12 +0200 |
commit | 83b501c1799a96a41e163973e88826253ffadfb3 (patch) | |
tree | abe2b07c3928798c5997c0bc90c8521bf2e23c3e /drivers/gpu/drm/imagination/pvr_queue.c | |
parent | 10ba3753665f77314cb475e1a4ad0785f4770c4b (diff) |
drm/scheduler: remove full_recover from drm_sched_start
This was basically just another one of amdgpus hacks. The parameter
allowed to restart the scheduler without turning fence signaling on
again.
That this is absolutely not a good idea should be obvious by now since
the fences will then just sit there and never signal.
While at it cleanup the code a bit.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240722083816.99685-1-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/imagination/pvr_queue.c')
-rw-r--r-- | drivers/gpu/drm/imagination/pvr_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imagination/pvr_queue.c b/drivers/gpu/drm/imagination/pvr_queue.c index 5ed9c98fb599..20cb46012082 100644 --- a/drivers/gpu/drm/imagination/pvr_queue.c +++ b/drivers/gpu/drm/imagination/pvr_queue.c @@ -782,7 +782,7 @@ static void pvr_queue_start(struct pvr_queue *queue) } } - drm_sched_start(&queue->scheduler, true); + drm_sched_start(&queue->scheduler); } /** @@ -842,7 +842,7 @@ pvr_queue_timedout_job(struct drm_sched_job *s_job) } mutex_unlock(&pvr_dev->queues.lock); - drm_sched_start(sched, true); + drm_sched_start(sched); return DRM_GPU_SCHED_STAT_NOMINAL; } |