[Intel-gfx] [PATCH 00/10] basic infrastructure for pipe_config

Daniel Vetter daniel.vetter at ffwll.ch
Fri Feb 22 00:56:44 CET 2013


Hi all,

This adds the basic pipe_config infrastructure and coverts over the various mode
flags plus the pipe bpp handling. On top of that 2 patches to clean up the bpp
handling mess a bit and make the code stricter in enforcing its own rules with a
few BUGs.

Compared to the original submission I've mostly just reordered patches to group
them better, but a few other things have changed, too:
- Updated patches with Ville's feedback.
- vlv has like g4x only 10bpc, not a 12bpc.
- Fix a stupid mistake in the vlv/g4x pipe bpp clamping.

Oh and the stuff is not tested on a few more machines, but not too
through-roughly.

Cheers, Daniel

Daniel Vetter (10):
  drm/i915: introduce struct intel_crtc_config
  drm/i915: compute pipe_config earlier
  drm/i915: add pipe_config->timings_set
  drm/i915: add pipe_config->pixel_multiplier
  drm/i915: drop helper vtable for sdvo encoder
  drm/i915: add pipe_config->has_pch_encoder
  drm/i915: add pipe_config->limited_color_range
  drm/i915: move pipe bpp computation to pipe_config
  drm/i915: clean up plane bpp confusion
  drm/i915: clean up pipe bpp confusion

 drivers/gpu/drm/i915/i915_drv.h      |   4 +-
 drivers/gpu/drm/i915/intel_crt.c     |  12 +-
 drivers/gpu/drm/i915/intel_ddi.c     |  27 +-
 drivers/gpu/drm/i915/intel_display.c | 473 +++++++++++++++--------------------
 drivers/gpu/drm/i915/intel_dp.c      | 125 +++++----
 drivers/gpu/drm/i915/intel_drv.h     |  68 +++--
 drivers/gpu/drm/i915/intel_hdmi.c    |  35 ++-
 drivers/gpu/drm/i915/intel_lvds.c    |  33 ++-
 drivers/gpu/drm/i915/intel_sdvo.c    |  55 ++--
 drivers/gpu/drm/i915/intel_tv.c      |  14 +-
 10 files changed, 406 insertions(+), 440 deletions(-)

-- 
1.7.11.4




More information about the Intel-gfx mailing list