Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] dp/fdi m/n rework + basic pipe_config readout
@ 2013-03-28  9:41 Daniel Vetter
  2013-03-28  9:41 ` [PATCH 1/8] drm/i915: clear up the fdi/dp set_m_n confusion Daniel Vetter
                   ` (7 more replies)
  0 siblings, 8 replies; 27+ messages in thread
From: Daniel Vetter @ 2013-03-28  9:41 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

Hi all,

So now that the basic infrastructure is in I'll (re)dump the next series. It
fixes up the mess around m/n dp/fdi handling, which has been nicely splattered
all over the code.

Missing bit here is that vlv doesn't have a set of specially selected dp pll
values, so will keep on using the generic clock computation code.

Two things in this patch series for the long-term goals:
- Start of dpll values precomputation, needed to proper handle clock sharing
  before touching hw state.
- Start of the pipe-config hw state readout support.

Especially for the 2nd item my plan is to start a nice diversion from my
outstanding pipe-config patches here and port the fastboot state readout from
Chris/Jesse over.

Flames, comments and review highly welcome!

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      | 125 ++++-----
 drivers/gpu/drm/i915/intel_drv.h     |  30 +-
 4 files changed, 335 insertions(+), 352 deletions(-)

-- 
1.7.11.7

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [PATCH 00/10] bpc handling fixes
@ 2013-02-22  0:04 Daniel Vetter
  2013-02-22  0:04 ` [PATCH 1/8] drm/i915: clear up the fdi/dp set_m_n confusion Daniel Vetter
  0 siblings, 1 reply; 27+ messages in thread
From: Daniel Vetter @ 2013-02-22  0:04 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

Hi all,

To actually be able to implement fdi link bpc dithering we need to have working
plane/pipe bpp handling. The current code doesn't manage that - I've had way too
many black screens and other funny issues.

Note that I currently lack a high-color-depth screen, so I couldn't test
anything with a 10bpc dp screen or a 12bpc hdmi capable screen. Anyone who has
such a thing, testing highly welcome.

After these patches I can at least fire up X in any sane bitdepth and things
still work.

Cheers, Daniel

Daniel Vetter (10):
  drm/i915: use pipe_config for lvds dithering
  drm/i915: consolidate pch pll computations a bit
  drm/i915: fixup 12bpc hdmi dotclock handling
  drm/i915: Disable high-bpc on pre-1.4 EDID screens
  drm/i915: force bpp for eDP panels
  drm/i915: extract i9xx_set_pipeconf
  drm/i915: drop adjusted_mode from *_set_pipeconf functions
  drm/i915: implement high-bpc + pipeconf-dither support for g4x/vlv
  drm/i915: allow high-bpc modes on DP
  drm/i915: Fixup non-24bpp support for VGA screens on Haswell

 drivers/gpu/drm/i915/intel_crt.c     |   4 +
 drivers/gpu/drm/i915/intel_display.c | 179 ++++++++++++++++++-----------------
 drivers/gpu/drm/i915/intel_dp.c      |  13 ++-
 drivers/gpu/drm/i915/intel_drv.h     |   5 +
 drivers/gpu/drm/i915/intel_hdmi.c    |  23 ++++-
 drivers/gpu/drm/i915/intel_lvds.c    |  14 +--
 6 files changed, 139 insertions(+), 99 deletions(-)

-- 
1.7.11.4

^ permalink raw reply	[flat|nested] 27+ messages in thread
* [PATCH 0/8] fdi/dp m_n reorg and a few other clock changes
@ 2013-02-22  0:00 Daniel Vetter
  2013-02-22  0:00 ` [PATCH 1/8] drm/i915: clear up the fdi/dp set_m_n confusion Daniel Vetter
  0 siblings, 1 reply; 27+ messages in thread
From: Daniel Vetter @ 2013-02-22  0:00 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

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(-)

-- 
1.7.11.4

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2013-04-05 18:48 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-28  9:41 [PATCH 0/8] dp/fdi m/n rework + basic pipe_config readout Daniel Vetter
2013-03-28  9:41 ` [PATCH 1/8] drm/i915: clear up the fdi/dp set_m_n confusion Daniel Vetter
2013-04-02 20:47   ` Jesse Barnes
2013-04-02 20:49     ` Jesse Barnes
2013-04-02 21:38       ` [PATCH] " Daniel Vetter
2013-03-28  9:41 ` [PATCH 2/8] drm/i915: move dp_m_n computation to dp_encoder->compute_config Daniel Vetter
2013-04-02 20:51   ` Jesse Barnes
2013-04-02 21:42     ` [PATCH] " Daniel Vetter
2013-03-28  9:41 ` [PATCH 3/8] drm/i915: track dp target_clock in pipe_config Daniel Vetter
2013-04-02 20:56   ` Jesse Barnes
2013-04-02 21:27     ` [PATCH] drm/i915: remove leaky eDP functions Daniel Vetter
2013-04-02 21:30       ` Jesse Barnes
2013-03-28  9:41 ` [PATCH 4/8] drm/i915: rip out superflous is_dp&is_cpu_edp tracking Daniel Vetter
2013-04-02 21:01   ` Jesse Barnes
2013-03-28  9:42 ` [PATCH 5/8] drm/i915: add hw state readout/checking for pipe_config Daniel Vetter
2013-04-02 21:05   ` Jesse Barnes
2013-03-28  9:42 ` [PATCH 6/8] drm/i915: hw readout support for ->has_pch_encoders Daniel Vetter
2013-04-02 21:08   ` Jesse Barnes
2013-03-28  9:42 ` [PATCH 7/8] drm/i915: create pipe_config->dpll for clock state Daniel Vetter
2013-04-02 21:14   ` Jesse Barnes
2013-04-03  9:44     ` Daniel Vetter
2013-03-28  9:42 ` [PATCH 8/8] drm/i915: move dp clock computations to encoder->compute_config Daniel Vetter
2013-04-02 21:20   ` Jesse Barnes
2013-04-02 21:26     ` Daniel Vetter
2013-04-05 18:51       ` Daniel Vetter
  -- strict thread matches above, loose matches on Subject: below --
2013-02-22  0:04 [PATCH 00/10] bpc handling fixes Daniel Vetter
2013-02-22  0:04 ` [PATCH 1/8] drm/i915: clear up the fdi/dp set_m_n confusion Daniel Vetter
2013-02-22  0:00 [PATCH 0/8] fdi/dp m_n reorg and a few other clock changes Daniel Vetter
2013-02-22  0:00 ` [PATCH 1/8] drm/i915: clear up the fdi/dp set_m_n confusion Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox