diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-01-24 15:29:51 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-01-24 23:42:09 +0100 |
commit | 07ec7ec55baec26a3b77d310b0399d2e20f0f67b (patch) | |
tree | a560e550f6302577dae10847ab21293724da6df6 /drivers/gpu/drm/i915/i915_reg.h | |
parent | d88b2270862087544dd5234d95976db51d8ee5bf (diff) | |
download | lwn-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.h | 2 |
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 |