drm/lima: Expose job_hang_limit module parameter
authorAndrey Lebedev <andrey@lebedev.lt>
Fri, 19 Jun 2020 07:58:59 +0000 (10:58 +0300)
committerQiang Yu <yuq825@gmail.com>
Mon, 13 Jul 2020 05:47:41 +0000 (13:47 +0800)
commitde48984486d942d4f23e2b29374639f21042bdaa
treea289bd76d570899e7a4833a7efa32ca5511bb1a8
parent06a28f9060a3bb37a0caa2b703be064ed7014a1f
drm/lima: Expose job_hang_limit module parameter

Some pp or gp jobs can be successfully repeated even after they time outs.
Introduce lima module parameter to specify number of times a job can hang
before being dropped.

Signed-off-by: Andrey Lebedev <andrey@lebedev.lt>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200619075900.3030696-1-andrey.lebedev@gmail.com
drivers/gpu/drm/lima/lima_drv.c
drivers/gpu/drm/lima/lima_drv.h
drivers/gpu/drm/lima/lima_sched.c