[Intel-gfx] [PATCH 00/18] Haswell eDP enablement v3

Paulo Zanoni przanoni at gmail.com
Tue Oct 23 22:29:50 CEST 2012


From: Paulo Zanoni <paulo.r.zanoni at intel.com>

Hi

Here is the third version, which is the result of the discussions I had with
Daniel both on the mailing list and on IRC.

In my discussions with Daniel we were wondering about code that would or would
not be run on VGA (the only output that requires the PCH), so what I actually
did was an attempt to fix VGA and see what changes would really be needed on our
PCH code. After my investigation I partially fixed our VGA support (some modes
still didn't work) but it was enough to get a clear idea of what we would need
to do with the PCH/FDI code. The "partially fix VGA" series will come later.

So this new series contains 4 new patches at its beginning. These patches do
some small adjustments to consider the fact that we only have 1 PCH transcoder
on Haswell. This way we can avoid running PCH/FDI code on eDP, allowing us to
port even less code to use cpu_transcoder instead of pipe, possibly making
Daniel happier.

Comments? Reviews?

Thanks,
Paulo

Paulo Zanoni (18):
  drm/i915: fork a Haswell version of ironlake_crtc_{enable,disable}
  drm/i915: fix the checks inside Ironlake/Haswell crtc enable/disable
  drm/i915: simplify intel_crtc_driving_pch
  drm/i915: don't call Haswell PCH code when we can't or don't need
  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      |  13 +-
 drivers/gpu/drm/i915/i915_reg.h      | 127 +++++++-------
 drivers/gpu/drm/i915/intel_ddi.c     | 183 ++++++++++++++------
 drivers/gpu/drm/i915/intel_display.c | 321 +++++++++++++++++++++++++++--------
 drivers/gpu/drm/i915/intel_dp.c      |  29 ++--
 drivers/gpu/drm/i915/intel_drv.h     |  19 ++-
 drivers/gpu/drm/i915/intel_sprite.c  |   4 +-
 8 files changed, 495 insertions(+), 209 deletions(-)

-- 
1.7.11.4




More information about the Intel-gfx mailing list