Skip to content

fdi/dp m_n reorg and a few other clock changes

Daniel Vetter intel-gfx 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915: clear up the fdi/dp set_m_n confusiondrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_drv.h+67 -570 replies
2/8drm/i915: move dp_m_n computation to dp_encoder->compute_configdrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_drv.h+25 -570 replies
3/8drm/i915: track dp target_clock in pipe_configdrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_drv.h+10 -230 replies
4/8drm/i915: rip out superflous is_dp&is_cpu_edp trackingdrivers/gpu/drm/i915/intel_display.c+7 -300 replies
5/8drm/i915: add hw state readout/checking for pipe_configdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_display.c+72 -100 replies
6/8drm/i915: hw readout support for ->has_pch_encodersdrivers/gpu/drm/i915/intel_display.c+25 -90 replies
7/8drm/i915: create pipe_config->dpll for clock statedrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h+95 -720 replies
8/8drm/i915: move dp clock computations to encoder->compute_configdrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_dp.c+46 -960 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] fdi/dp m_n reorg and a few other clock changes

Hi all,

This here is a bit a grab-bag of changes, all around the clock handling in our code. Originally I've wanted to push this further so that we can compute the desired dpll settings in the pipe_config computation stage. We need that to properly figure out pll sharing for atomic modeset. But it's messy, so this only moves us a bit further.

Also contained in here is the hw state readout support infrastructure for pipe configurations. It helps in simplifying things a bit, but otherwise not used for a lot of things yet.

Cheers, Daniel

Daniel Vetter (8):
drm/i915: clear up the fdi/dp set_m_n confusion drm/i915: move dp_m_n computation to dp_encoder->compute_config drm/i915: track dp target_clock in pipe_config drm/i915: rip out superflous is_dp&is_cpu_edp tracking drm/i915: add hw state readout/checking for pipe_config drm/i915: hw readout support for ->has_pch_encoders drm/i915: create pipe_config->dpll for clock state drm/i915: move dp clock computations to encoder->compute_config

 drivers/gpu/drm/i915/i915_drv.h      |   5 +
 drivers/gpu/drm/i915/intel_display.c | 527 +++++++++++++++++------------------
 drivers/gpu/drm/i915/intel_dp.c      | 115 ++++----
 drivers/gpu/drm/i915/intel_drv.h     |  30 +-
 4 files changed, 335 insertions(+), 342 deletions(-)
Signature · 1 line
1.7.11.4