[PATCH 0/9] Haswell DDI encoder (DP + HDMI on the same port)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Paulo Zanoni <paulo.r.zanoni at intel.com>

Hi

Finally, the last piece of the Haswell DP enablement: after this series xrandr
should show your connected DP monitors and hopefully enable them.

The problem this series tries to solve is that both DP and HDMI share the same
registers for any given port. So you can't just "intel_hdmi_init(PORT_A)" and
then "intel_dp_init(PORT_A)", as this will totally confuse the HW state readout
code, among other things.

Older versions of these patches (and all the previous ones I sent in the last
weeks) were already used by quite a few people and even tested by QA a few
times.

The amount of lines changed by this series is quite big, but most of these
changes are small adjustments to make the code compile. Because of this, as our
tree changes (especially intel_hdmi.c and intel_dp.c) these patches may start
needing some adjustments. I wrote these patches on top of today's
drm-intel-next-queued + the 3 "edp panel scaling" patches from Jani/Yuly (since
I believe these will probably get merged before my series, so I won't have to
resend in this case).

After this series I still have 2 more series to send, one with Haswell VGA fixes
and the other with small Haswell bug fixes.

Thanks in advance for your reviews,
Paulo


Paulo Zanoni (9):
  drm/i915: simplify assignments inside intel_dp.c
  drm/i915: add intel_dp_to_dev and intel_hdmi_to_dev
  drm/i915: create intel_digital_port and use it
  drm/i915: split intel_hdmi_init into encoder and connector pieces
  drm/i915: split intel_dp_init into encoder and connector pieces
  drm/i915: reset intel_encoder->type when DP or HDMI is detected
  drm/i915: add port field to intel_digital_port
  drm/i915: add intel_ddi_connector_get_hw_state
  drm/i915: create the DDI encoder

 drivers/gpu/drm/i915/intel_ddi.c  | 204 +++++++++++++++++++++-------
 drivers/gpu/drm/i915/intel_dp.c   | 275 +++++++++++++++++++++-----------------
 drivers/gpu/drm/i915/intel_drv.h  |  54 ++++++--
 drivers/gpu/drm/i915/intel_hdmi.c | 133 +++++++++---------
 4 files changed, 420 insertions(+), 246 deletions(-)

-- 
1.7.11.4



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux