summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-01-24 15:29:51 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-24 23:42:09 +0100
commit07ec7ec55baec26a3b77d310b0399d2e20f0f67b (patch)
treea560e550f6302577dae10847ab21293724da6df6 /drivers/gpu/drm/i915/i915_reg.h
parentd88b2270862087544dd5234d95976db51d8ee5bf (diff)
downloadlwn-07ec7ec55baec26a3b77d310b0399d2e20f0f67b.tar.gz
lwn-07ec7ec55baec26a3b77d310b0399d2e20f0f67b.zip
drm/i915: Make VLV_GUNIT_CLOCK_GATE register value more readable
Instead of 0x18xxxx use (VLV_DISPLAY_BASE + xxxx). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 86c4ffa3c050..06a37a09245e 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -554,7 +554,7 @@
#define IIR 0x020a4
#define IMR 0x020a8
#define ISR 0x020ac
-#define VLV_GUNIT_CLOCK_GATE 0x182060
+#define VLV_GUNIT_CLOCK_GATE (VLV_DISPLAY_BASE + 0x2060)
#define GCFG_DIS (1<<8)
#define VLV_IIR_RW 0x182084
#define VLV_IER 0x1820a0