drm/i915: gen2: move error capture of IER to its correct place
authorImre Deak <imre.deak@intel.com>
Mon, 14 Apr 2014 17:24:31 +0000 (20:24 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 07:09:01 +0000 (09:09 +0200)
commit51660e0eb6e7130fb1ba511cc1918cbe505be0af
tree2a62710a3882d6e0a8291f179e80f78211a40fd5
parentf454c6940ed4bfc76670295534270ccebf366898
drm/i915: gen2: move error capture of IER to its correct place

While checking the error capture path I noticed that this register is
read twice for GEN2, so fix this and also move the read where it's done
for other platforms.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gpu_error.c