Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
Chris Wilson c0d5f32c50 drm/i915: Set guilty-flag on fence after detecting a hang
The struct dma_fence carries a status field exposed to userspace by
sync_file. This is inspected after the fence is signaled and can convey
whether or not the request completed successfully, or in our case if we
detected a hang during the request (signaled via -EIO in
SYNC_IOC_FILE_INFO).

v2: Mark all cancelled requests as failed.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170110172246.27297-2-chris@chris-wilson.co.uk
2017-01-10 20:49:30 +00:00
..
2016-12-15 14:55:34 +02:00
2016-12-15 14:55:34 +02:00
2016-12-15 14:55:34 +02:00
2016-12-30 12:08:28 +01:00
2017-01-02 15:06:39 +02:00
2016-12-30 12:53:51 +01:00
2016-12-30 11:43:40 +01:00