summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mga/mga_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-11-11 20:34:13 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2015-11-16 16:00:34 +0200
commitda00bdcfb25989afc025274fecbdcbfd9a24d3a1 (patch)
tree738604f55efd34572846786847fd1032f5ac57a4 /drivers/gpu/drm/mga/mga_drv.h
parent750a951fd34808d8822abafccd0dfa479deef0a0 (diff)
drm/i915: Remove the magic AUX_CTL is at DP + foo tricks
Currently we determine the location of the AUX registers in a confusing way. First we assume the PCH registers are used always, but then we override it for everything but HSW/BDW to use DP+0x10. Very confusing. Let's just make it straightforward and simply add a few functions to pick the right AUX_CTL based on the DP port. To deal with VLV/CHV we'll include the display_mmio_offset into the AUX register defines. v2: Reorder patches (Chris) Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v1) Link: http://patchwork.freedesktop.org/patch/msgid/1447266856-30249-5-git-send-email-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/mga/mga_drv.h')
0 files changed, 0 insertions, 0 deletions