OpenCloudOS-Kernel/drivers/gpu/drm/lima
Qiang Yu 5c544dafc0 drm/lima: use drm_sched_fault for error task handling
drm_sched_job_timedout works with drm_sched_stop as a pair,
so we'd better use the drm_sched_fault helper to make the
error and timeout handling go the same path.

This also fixes application hang when task error.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200101103831.22429-1-yuq825@gmail.com
2020-01-09 09:27:38 +08:00
..
Kconfig drm/lima: Fix Kconfig indentation 2019-11-20 17:40:32 +01:00
Makefile drm/lima: use drm_gem_shmem_helpers 2019-10-17 23:41:03 +08:00
lima_bcast.c
lima_bcast.h
lima_ctx.c
lima_ctx.h
lima_device.c drm/lima: add __GFP_NOWARN flag to all dma_alloc_wc 2019-10-17 23:42:02 +08:00
lima_device.h
lima_dlbu.c
lima_dlbu.h
lima_drv.c drm/lima: use drm_gem_shmem_helpers 2019-10-17 23:41:03 +08:00
lima_drv.h
lima_gem.c drm/lima: use drm_gem_(un)lock_reservations 2019-10-17 23:41:54 +08:00
lima_gem.h drm/lima: use drm_gem_shmem_helpers 2019-10-17 23:41:03 +08:00
lima_gp.c
lima_gp.h
lima_l2_cache.c
lima_l2_cache.h
lima_mmu.c drm/lima: use drm_gem_shmem_helpers 2019-10-17 23:41:03 +08:00
lima_mmu.h
lima_pmu.c
lima_pmu.h
lima_pp.c drm/lima: handle shared irq case for lima_pp_bcast_irq_handler 2019-04-20 16:14:09 +08:00
lima_pp.h
lima_regs.h
lima_sched.c drm/lima: use drm_sched_fault for error task handling 2020-01-09 09:27:38 +08:00
lima_sched.h drm/lima: use drm_sched_fault for error task handling 2020-01-09 09:27:38 +08:00
lima_vm.c drm/lima: add __GFP_NOWARN flag to all dma_alloc_wc 2019-10-17 23:42:02 +08:00
lima_vm.h drm/lima: Mark 64-bit number as ULL 2019-06-23 11:22:12 +08:00