[Intel-gfx] [PATCH 0/6] Unduplicate CHV phy code

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Fri Apr 8 15:31:40 UTC 2016


There was a lot of duplication between the CHV specific code in DP and
HDMI encoders. This series moves those to a new file: intel_dpio_phy.c.

I don't really know all the details about that code, so couldn't come
up with decent names for the new funcions. Perhaps Ville can suggest
something better and also what to write for kerneldoc.

Note that I only compile-tested this.

Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>

Ander Conselvan de Oliveira (6):
  drm/i915: Set crtc_state->lane_count for HDMI
  drm/i915: Unduplicate CHV signal level code
  drm/i915: Unduplicate chv_data_lane_soft_reset()
  drm/i915: Unduplicate CHV phy-releated pre pll enabling code
  drm/i915: Unduplicate CHV pre-encoder enabling phy logic
  drm/i915: Undiplicate CHV encoders' post pll disable code

 drivers/gpu/drm/i915/Makefile         |   1 +
 drivers/gpu/drm/i915/i915_drv.h       |  11 +
 drivers/gpu/drm/i915/intel_dp.c       | 344 +------------------------------
 drivers/gpu/drm/i915/intel_dpio_phy.c | 372 ++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_drv.h      |   5 +
 drivers/gpu/drm/i915/intel_hdmi.c     | 289 +-------------------------
 6 files changed, 406 insertions(+), 616 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_dpio_phy.c

-- 
2.4.11



More information about the Intel-gfx mailing list