diff options
author | Andrey Lebedev <andrey@lebedev.lt> | 2020-06-19 10:58:59 +0300 |
---|---|---|
committer | Qiang Yu <yuq825@gmail.com> | 2020-07-13 13:47:41 +0800 |
commit | de48984486d942d4f23e2b29374639f21042bdaa (patch) | |
tree | a289bd76d570899e7a4833a7efa32ca5511bb1a8 /drivers/gpu/drm/lima/lima_drv.h | |
parent | 06a28f9060a3bb37a0caa2b703be064ed7014a1f (diff) | |
download | linux-de48984486d942d4f23e2b29374639f21042bdaa.tar.gz linux-de48984486d942d4f23e2b29374639f21042bdaa.tar.bz2 linux-de48984486d942d4f23e2b29374639f21042bdaa.zip |
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
Diffstat (limited to 'drivers/gpu/drm/lima/lima_drv.h')
-rw-r--r-- | drivers/gpu/drm/lima/lima_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/lima/lima_drv.h b/drivers/gpu/drm/lima/lima_drv.h index fdbd4077c768..c738d288547b 100644 --- a/drivers/gpu/drm/lima/lima_drv.h +++ b/drivers/gpu/drm/lima/lima_drv.h @@ -11,6 +11,7 @@ extern int lima_sched_timeout_ms; extern uint lima_heap_init_nr_pages; extern uint lima_max_error_tasks; +extern uint lima_job_hang_limit; struct lima_vm; struct lima_bo; |