diff options
author | Keith Packard <keithp@keithp.com> | 2008-05-26 03:25:16 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-05-26 03:25:16 -0700 |
commit | d434b64f6a760d85295e32298a9a1f3624ee1b69 (patch) | |
tree | d3b334ab5fd277c5fb159217f6bbe0edd3d88b9c /shared-core/i915_drv.h | |
parent | 7cf3fd29fe058a0bfc2ba7e889d1b360398be161 (diff) |
[i915] leave interrupts masked off when not in use.
The interrupt enable register cannot be used to temporarily disable
interrupts, instead use the interrupt mask register.
Note that this change means that a pile of buffers will be left stuck on the
chip as the final interrupts will not be recognized to come and drain things.
Diffstat (limited to 'shared-core/i915_drv.h')
-rw-r--r-- | shared-core/i915_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h index 04e149a9..fee6d436 100644 --- a/shared-core/i915_drv.h +++ b/shared-core/i915_drv.h @@ -131,7 +131,7 @@ typedef struct drm_i915_private { DRM_SPINTYPE user_irq_lock; int user_irq_refcount; int fence_irq_on; - uint32_t irq_enable_reg; + uint32_t irq_mask_reg; int irq_enabled; #ifdef I915_HAVE_FENCE |