drm/i915: check for disabled interrupts on ValleyView
Haven't seen this yet, but it doesn't hurt. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
7e231dbe0c
commit
23e3f9b37e
|
@ -1875,6 +1875,8 @@ i915_wait_request(struct intel_ring_buffer *ring,
|
|||
if (!i915_seqno_passed(ring->get_seqno(ring), seqno)) {
|
||||
if (HAS_PCH_SPLIT(ring->dev))
|
||||
ier = I915_READ(DEIER) | I915_READ(GTIER);
|
||||
else if (IS_VALLEYVIEW(ring->dev))
|
||||
ier = I915_READ(GTIER) | I915_READ(VLV_IER);
|
||||
else
|
||||
ier = I915_READ(IER);
|
||||
if (!ier) {
|
||||
|
|
Loading…
Reference in New Issue