All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] drm/i915: remove pch_edp encoder state variable
@ 2013-05-07 15:24 Imre Deak
  2013-05-07 15:24 ` [PATCH 1/6] drm/i915: use enc_to_intel_dp() instead of opencoding the same Imre Deak
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Imre Deak @ 2013-05-07 15:24 UTC (permalink / raw)
  To: intel-gfx

Since whether a specific eDP port is on CPU or on PCH is fixed and
depends only on which digital port it is, we don't really need state
tracking for it. So remove it and instead check for the port and if
needed the machine type (for ValleyView).

The assumption in the code before and after the change:

Before ILK there is no eDP. Starting from ILK we can have eDP ports on
port A and D:

Port A and for ValleyView port C is always a CPU side eDP port, if the
port exists.

Port D is a PCH side eDP port if there is a PCH and VBT says it's an eDP
port.

Tested only on IVB.

Imre Deak (6):
  drm/i915: use enc_to_intel_dp() instead of opencoding the same
  drm/i915: hsw: replace !is_pch_edp() with port==PORT_A
  drm/i915: ilk-ivb: replace is_pch_edp() with port==PORT_D
  drm/i915: stop using is_pch_edp() in intel_dp_init_connector()
  drm/i915: stop using is_pch_edp() in is_cpu_edp()
  drm/i915: remove is_pch_edp() helpers and state variable

 drivers/gpu/drm/i915/intel_display.c |    4 +-
 drivers/gpu/drm/i915/intel_dp.c      |   79 +++++++++++++---------------------
 drivers/gpu/drm/i915/intel_drv.h     |   14 +++---
 3 files changed, 36 insertions(+), 61 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2013-05-10  8:52 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-07 15:24 [PATCH 0/6] drm/i915: remove pch_edp encoder state variable Imre Deak
2013-05-07 15:24 ` [PATCH 1/6] drm/i915: use enc_to_intel_dp() instead of opencoding the same Imre Deak
2013-05-07 15:24 ` [PATCH 2/6] drm/i915: hsw: replace !is_pch_edp() with port==PORT_A Imre Deak
2013-05-07 15:24 ` [PATCH 3/6] drm/i915: ilk-ivb: replace is_pch_edp() with port==PORT_D Imre Deak
2013-05-07 15:35   ` Daniel Vetter
2013-05-07 15:24 ` [PATCH 4/6] drm/i915: stop using is_pch_edp() in intel_dp_init_connector() Imre Deak
2013-05-08  8:07   ` Ville Syrjälä
2013-05-07 15:24 ` [PATCH 5/6] drm/i915: stop using is_pch_edp() in is_cpu_edp() Imre Deak
2013-05-07 15:24 ` [PATCH 6/6] drm/i915: remove is_pch_edp() helpers and state variable Imre Deak
2013-05-08 10:14 ` [PATCH v2 0/7] drm/i915: remove pch_edp encoder " Imre Deak
2013-05-08 10:14   ` [PATCH v2 1/7] drm/i915: use enc_to_intel_dp() instead of opencoding the same Imre Deak
2013-05-08 10:14   ` [PATCH v2 2/7] drm/i915: hsw: replace !is_pch_edp() with port==PORT_A Imre Deak
2013-05-08 10:14   ` [PATCH v2 3/7] drm/i915: ilk-ivb: " Imre Deak
2013-05-08 10:14   ` [PATCH v2 4/7] drm/i915: stop using is_pch_edp() in intel_dp_init_connector() Imre Deak
2013-05-08 10:14   ` [PATCH v2 5/7] drm/i915: stop using is_pch_edp() in is_cpu_edp() Imre Deak
2013-05-10  8:49     ` Daniel Vetter
2013-05-10  8:52       ` Imre Deak
2013-05-08 10:14   ` [PATCH v2 6/7] drm/i915: remove is_pch_edp() helpers and state variable Imre Deak
2013-05-08 10:14   ` [PATCH v2 7/7] drm/i915: print DP init debug messages from a single place Imre Deak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.