Here's my first attempt at adding bxt dsi transcoder support. Patch 8 is the real deal, everything else is almost trivial. It was painful to try ensure we really aren't indexing any regular transcoder registers with the dsi transcoder enumerations, but I think I got them all. It's fairly straightforward to check everything I changed; much harder to try to figure out what I missed... This is all untested. Paraphrasing Bob Marley, no hardware, no cry. BR, Jani. Jani Nikula (10): drm/i915: add for_each_port_masked macro drm/i915: make transcoder_name return a string drm/i915/dsi: refactor dsi get hw state readout drm/i915/bxt: fix dsi hw state pipe readout drm/i915: split get/set pipe timings to pipe and transcoder parts drm/i915: split set pipeconf to pipe and transcoder parts drm/i915: abstract get config for cpu transcoder drm/i915/bxt: add dsi transcoders drm/i915/dsi: use the BIT macro for clarity drm/i915/bxt: allow dsi on any pipe drivers/gpu/drm/i915/i915_drv.h | 31 ++++- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_ddi.c | 6 + drivers/gpu/drm/i915/intel_display.c | 210 ++++++++++++++++++++++------- drivers/gpu/drm/i915/intel_drv.h | 3 +- drivers/gpu/drm/i915/intel_dsi.c | 71 ++++++---- drivers/gpu/drm/i915/intel_dsi.h | 4 +- drivers/gpu/drm/i915/intel_fifo_underrun.c | 6 +- drivers/gpu/drm/i915/intel_runtime_pm.c | 6 + 9 files changed, 256 insertions(+), 82 deletions(-) -- 2.1.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx