drm/i915/execlists: Add interrupt-pending check to intel_execlists_idle()
authorChris Wilson <[email protected]>
Wed, 1 Feb 2017 13:12:22 +0000 (13:12 +0000)
committerChris Wilson <[email protected]>
Wed, 1 Feb 2017 15:23:06 +0000 (15:23 +0000)
commit453cfe21711f644e744e834d5c61042b2fac218d
tree9c201566c75bd26ac5a7711bf49bc0d2dfb95ac0
parente2de845e0b84ebb7e910bb898febbf813b7df483
drm/i915/execlists: Add interrupt-pending check to intel_execlists_idle()

Primarily this serves as a sanity check that the bit has been cleared
before we suspend (and hasn't reappeared after resume).

Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Mika Kuoppala <[email protected]>
drivers/gpu/drm/i915/intel_lrc.c