[PATCH 00/14] Haswell eDP enablement

Paulo Zanoni
2012-10-18T21:21:55Z

Hi

Now that DP is merged, time for eDP :)

Most of the patches here exist because on Haswell what we used to call "CPU
pipe" was split into "CPU pipe" and "CPU transcoder" (and we still have the "PCH
transcoder") and now we have 3 CPU pipes (A, B and C) and 4 CPU transcoders (A,
B, C and EDP). Read the description of patch 01 to understand the changes.

In addition to the CPU transcoder changes we just have a few patches to add the
eDP-specific bits to the Haswell mode set sequence. I'm not reusing some code
from intel_dp.c because I really want our mode set sequence to follow the spec.

After this series eDP should light up and work.

Paulo Zanoni (14):
drm/i915: add TRANSCODER_EDP
drm/i915: convert PIPE_CLK_SEL to transcoder
drm/i915: convert DDI_FUNC_CTL to transcoder
drm/i915: check TRANSCODER_EDP on intel_modeset_setup_hw_state
drm/i915: convert PIPECONF to use transcoder instead of pipe
drm/i915: convert PIPE_MSA_MISC to transcoder
drm/i915: convert CPU M/N timings to transcoder
drm/i915: convert pipe timing definitions to transcoder
drm/i915: implement workaround for VTOTAL when using TRANSCODER_EDP
drm/i915: select the correct pipe when using TRANSCODER_EDP
drm/i915: set the correct eDP aux channel clock divider on DDI
drm/i915: set/unset the DDI eDP backlight
drm/i915: turn the eDP DDI panel on/off
drm/i915: enable DDI eDP

drivers/gpu/drm/i915/i915_drv.h | 8 ++
drivers/gpu/drm/i915/i915_irq.c | 11 ++-
drivers/gpu/drm/i915/i915_reg.h | 127 +++++++++++++-----------
drivers/gpu/drm/i915/intel_crt.c | 12 ++-
drivers/gpu/drm/i915/intel_ddi.c | 182 ++++++++++++++++++++++++----------
drivers/gpu/drm/i915/intel_display.c | 187 ++++++++++++++++++++++++-----------
drivers/gpu/drm/i915/intel_dp.c | 29 +++---
drivers/gpu/drm/i915/intel_drv.h | 18 +++-
drivers/gpu/drm/i915/intel_sprite.c | 3 +-
drivers/gpu/drm/i915/intel_tv.c | 4 +-
10 files changed, 379 insertions(+), 202 deletions(-)

--
1.7.11.4