drm/i915: remove duplicate names for the render ring INSTDONE register
authorImre Deak <imre.deak@intel.com>
Wed, 30 Sep 2015 20:00:42 +0000 (23:00 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 2 Oct 2015 07:41:02 +0000 (09:41 +0200)
commitf1d543485344f11f90e5fac637cc3430841ddabf
tree3c002d6698ba1715b3e5679b0c31c913b1a935aa
parent101b506a7fc7be3f0d0a337ade270eb5eb5a2857
drm/i915: remove duplicate names for the render ring INSTDONE register

We use 3 different names to refer to the same render ring INSTDONE
register. This can be confusing when comparing two parts of the code
accessing the register via different names. Although the GEN4 version's
layout is different, we treat it the same way as the GEN7+ version, in
that we simply read it out during error capture. So remove the
duplicates and leave a comment about the GEN4 difference.

Note that there is also a GEN2 version of this register, but that's on a
different address so not handled in this patch.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_reg.h