diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-07-11 16:27:57 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-07-25 18:23:50 +0200 |
commit | 540a8950047579a368a9b8fdcc15ab7fdb9921d3 (patch) | |
tree | 588294c622e982b01b3cd56eed4f96f47fbe2b2d /drivers/gpu/drm/i915/i915_reg.h | |
parent | a7e806de4e53f7496a6701194d736a92a80db5b3 (diff) | |
download | lwn-540a8950047579a368a9b8fdcc15ab7fdb9921d3.tar.gz lwn-540a8950047579a368a9b8fdcc15ab7fdb9921d3.zip |
drm/i915: add inte_crt->adpa_reg
With the base addresses shifting around, this is easier to handle.
Also move to the real reg offset on vlv.
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index d122c93643e6..81a3de6b093c 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -1552,6 +1552,7 @@ /* VGA port control */ #define ADPA 0x61100 #define PCH_ADPA 0xe1100 +#define VLV_ADPA (VLV_DISPLAY_BASE + ADPA) #define ADPA_DAC_ENABLE (1<<31) #define ADPA_DAC_DISABLE 0 |