drm/i915/vlv: Make the vlv_dpio_read/vlv_dpio_write more PHY centric
authorChon Ming Lee <chon.ming.lee@intel.com>
Wed, 6 Nov 2013 06:36:35 +0000 (14:36 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 Nov 2013 09:57:45 +0000 (10:57 +0100)
commite4607fcfb1cd5d869425e190a85f841fc910c4ca
tree6b7b542956709d4d656e8ed435fec3e0007c8cdf
parent00fe639a56b40930bf27eabeef9a826344d8f4c4
drm/i915/vlv: Make the vlv_dpio_read/vlv_dpio_write more PHY centric

vlv_dpio_read/write should be describe more in PHY centric instead of
display controller centric.
Create a enum dpio_channel for channel index and enum dpio_phy for PHY
index.  This should better to gather for upcoming platform.

v2: Rebase the code based on
drm/i915/vlv: Fix typo in the DPIO register define.

v3: Rename vlv_phy to dpio_phy_iosf_port and define additional macro
DPIO_PHY, and remove unrelated change. (Ville)

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Chon Ming Lee <chon.ming.lee@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_sideband.c