Skip to content

Haswell eDP enablement patches 1-8 v2

Paulo Zanoni intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915: add TRANSCODER_EDPdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_display.c +1 more+31 -00 replies
2/8drm/i915: convert PIPE_CLK_SEL to transcoderdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ddi.c+15 -90 replies
3/8drm/i915: convert DDI_FUNC_CTL to transcoderdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_display.c +1 more+104 -690 replies
4/8drm/i915: check TRANSCODER_EDP on intel_modeset_setup_hw_statedrivers/gpu/drm/i915/intel_display.c+25 -00 replies
5/8drm/i915: convert PIPECONF to use transcoder instead of pipedrivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_display.c +1 more+42 -200 replies
6/8drm/i915: convert PIPE_MSA_MISC to transcoderdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ddi.c+19 -180 replies
7/8drm/i915: convert CPU M/N timings to transcoderdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_dp.c+20 -180 replies
8/8drm/i915: convert pipe timing definitions to transcoderdrivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_display.c+39 -350 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Haswell eDP enablement patches 1-8 v2

From: Paulo Zanoni <[email protected]>

Hi

So here is a new version of the first 8 patches with changes based on the comments.

Biggest diff is:
- Renamed pipe_to_cpu_transcoder to intel_pipe_to_cpu_transcoder (this triggered the rewrite of most subsequent patches)
- Followed Daniel's suggestion to convert from pipe to cpu_transcoder only the code that we actually run on Haswell.
- Daniel suggested to not convert some of the code that touches FDI and the PCH transcoder but I did not remove these chunks since we're currently running this code on Haswell even when not using VGA, so if we don't convert the code to cpu_transcoder we might start poking the wrong pipes and messing a lot of things. I really don't think we should delay Haswell enablement even more based on cleanups we did not even write yet. I've been maintaining these Haswell patches for a long time, I'd love to get rid of them. When we do the VGA cleanups we will be able to fix what we need to fix.

Patches 9-14 should still apply cleanly.

Please help reviewing. We'll still have more patches after the eDP series...

Thanks,
Paulo

Paulo Zanoni (8):
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

 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     | 129 +++++++++++++++++----------
 drivers/gpu/drm/i915/intel_display.c | 167 ++++++++++++++++++++++++-----------
 drivers/gpu/drm/i915/intel_dp.c      |  10 ++-
 drivers/gpu/drm/i915/intel_drv.h     |   8 +-
 drivers/gpu/drm/i915/intel_sprite.c  |   4 +-
 8 files changed, 296 insertions(+), 170 deletions(-)
Signature · 1 line
1.7.11.4