diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-06-08 12:14:02 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-06-08 12:33:08 +0100 |
commit | 9f90ff392877581e2c9b54a2d5ecfd1f50d1f170 (patch) | |
tree | 1fe7a750cabdfc7a1473aa9417f71fbc3ce55d99 /drivers/gpu/drm/i915/intel_breadcrumbs.c | |
parent | drm/i915/guc: Clear enable_guc_loading in case of init failure (diff) | |
download | linux-dev-9f90ff392877581e2c9b54a2d5ecfd1f50d1f170.tar.xz linux-dev-9f90ff392877581e2c9b54a2d5ecfd1f50d1f170.zip |
drm/i915: Check signaled state after enabling signaling
Setting up the irq to signal the request completion takes a finite
amount of time, during which it is possible that the request already
completed. Check afterwards, just in case, so that we can respond
immediately.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170608111405.16466-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_breadcrumbs.c')
0 files changed, 0 insertions, 0 deletions