]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7568501ed9bd3cc94d77dd5abdb3cebaa0da089c
tree3c002d6698ba1715b3e5679b0c31c913b1a935aa
parent4e43a709d2905b46e0b397687ac81f74c579625e
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