aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c
diff options
context:
space:
mode:
authorSharat Masetty <smasetty@codeaurora.org>2018-11-29 15:35:20 +0530
committerAlex Deucher <alexander.deucher@amd.com>2018-12-05 17:56:16 -0500
commit1db8c142b6c557a951e8f9866b98953fe91cbdd6 (patch)
treee93983882976af32506fdde4336f930c1fb761d8 /drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c
parentdrm/scheduler: Set sched->thread to NULL on failure (diff)
downloadlinux-dev-1db8c142b6c557a951e8f9866b98953fe91cbdd6.tar.xz
linux-dev-1db8c142b6c557a951e8f9866b98953fe91cbdd6.zip
drm/scheduler: Add drm_sched_suspend/resume_timeout()
This patch adds two new functions to help client drivers suspend and resume the scheduler job timeout. This can be useful in cases where the hardware has preemption support enabled. Using this, it is possible to have the timeout active only for the ring which is active on the ringbuffer. This patch also makes the job_list_lock IRQ safe. Suggested-by: Christian Koenig <Christian.Koenig@amd.com> Signed-off-by: Sharat Masetty <smasetty@codeaurora.org> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c')
0 files changed, 0 insertions, 0 deletions