drm/i915: Add ERR_INT to gen7 error state
authorBen Widawsky <ben@bwidawsk.net>
Mon, 20 Aug 2012 23:15:13 +0000 (16:15 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 Aug 2012 16:05:54 +0000 (18:05 +0200)
commit71e172e8d141fc167b1cca28271fd39c8cf63ed3
treed99a23956488c6975ecf4440ce0e39975e616ed9
parent44f46b4222a9ba5b21dcdf13f93dc53f48768d2b
drm/i915: Add ERR_INT to gen7 error state

ERR_INT can generate interrupts. However since most of the conditions seem
quite fatal the patch opts to simply report it in error state instead of
adding more complexity to the interrupt handler for little gain (the
bits are sticky anyway).

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Antti Koskipaa <antti.koskipaa@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h