drm/i915: rename INSTDONE1 to GEN4_INSTDONE1
authorImre Deak <imre.deak@intel.com>
Wed, 30 Sep 2015 20:00:44 +0000 (23:00 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 2 Oct 2015 12:25:19 +0000 (14:25 +0200)
commit13d70b8135e92274c9044d5ba4a543e1d6f0ef59
treeae8d381c88cacef995faf9b180b2d48858d918fe
parentbd93a50e4dbae108a55a228bba1a69a2314096fb
drm/i915: rename INSTDONE1 to GEN4_INSTDONE1

This register was added on GEN4, by the name INSTDONE_1 whereas the GEN6
specification calls it INSTDONE_2. Keep the original name with a
platform prefix to make it clearer which INSTDONE register instance this
is. Also add a comment about the SNB alternative name.

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