drm/i915: ironlake_write_eld code cleanup
authorWang Xingchao <xingchao.wang@intel.com>
Thu, 9 Aug 2012 08:52:18 +0000 (16:52 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 17 Aug 2012 08:10:04 +0000 (10:10 +0200)
commit9b138a83675364366388af8b6986b2e52be36bcc
tree521f4afd6ded29a23df3635588d85c54e4121cca
parent4f07854dd7fc197d9ea2bd83c26736baabb0b981
drm/i915: ironlake_write_eld code cleanup

Use _PIPE macro to get correct register definition for IBX/CPT, discard
old variable "i" way.

Signed-off-by: Wang Xingchao <xingchao.wang@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
[danvet: Added the DIP_PORT_SEL #define from a preceeding patch in the
series that needs more work.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c