linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/dp,i915: eDP DPCD backlight control detection fixes
@ 2020-02-11 18:33 Lyude Paul
  2020-02-11 18:33 ` [PATCH v2 1/3] drm/dp: Introduce EDID-based quirks Lyude Paul
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Lyude Paul @ 2020-02-11 18:33 UTC (permalink / raw)
  To: intel-gfx, dri-devel
  Cc: Daniel Vetter, David Airlie, Lucas De Marchi, Gwan-gyeong Mun,
	Manasi Navare, Rodrigo Vivi, Maarten Lankhorst, linux-kernel,
	Imre Deak, Jani Nikula, Matt Roper, Ramalingam C,
	Thomas Zimmermann, Maxime Ripard, Ville Syrjälä,
	Chris Wilson, Joonas Lahtinen, José Roberto de Souza,
	Juha-Pekka Heikkila, Lee Shawn C, Lyude Paul

Unfortunately, it turned out that the DPCD is also not a reliable way of
probing for DPCD backlight support as some panels will lie and say they
have DPCD backlight controls when they don't actually.

So, revert back to the old behavior and add a bunch of EDID-based DP
quirks for the panels that we know need this. As you might have already
guessed, OUI quirks didn't seem to be a very safe bet for these panels
due to them not having their device IDs filled out.

Lyude Paul (3):
  drm/dp: Introduce EDID-based quirks
  drm/i915: Force DPCD backlight mode on X1 Extreme 2nd Gen 4K AMOLED
    panel
  drm/i915: Force DPCD backlight mode for some Dell CML 2020 panels

 drivers/gpu/drm/drm_dp_helper.c               | 79 +++++++++++++++++++
 drivers/gpu/drm/drm_dp_mst_topology.c         |  3 +-
 .../drm/i915/display/intel_display_types.h    |  1 +
 drivers/gpu/drm/i915/display/intel_dp.c       | 11 ++-
 .../drm/i915/display/intel_dp_aux_backlight.c | 25 +++++-
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |  2 +-
 drivers/gpu/drm/i915/display/intel_psr.c      |  2 +-
 include/drm/drm_dp_helper.h                   | 21 ++++-
 8 files changed, 130 insertions(+), 14 deletions(-)

-- 
2.24.1


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

end of thread, other threads:[~2020-03-03 21:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-11 18:33 [PATCH v2 0/3] drm/dp,i915: eDP DPCD backlight control detection fixes Lyude Paul
2020-02-11 18:33 ` [PATCH v2 1/3] drm/dp: Introduce EDID-based quirks Lyude Paul
2020-03-03 19:51   ` [v2,1/3] " Adam Jackson
2020-02-11 18:33 ` [PATCH v2 2/3] drm/i915: Force DPCD backlight mode on X1 Extreme 2nd Gen 4K AMOLED panel Lyude Paul
2020-03-03 19:50   ` [v2,2/3] " Adam Jackson
2020-03-03 21:53   ` [PATCH v3] " Lyude Paul
2020-02-11 18:33 ` [PATCH v2 3/3] drm/i915: Force DPCD backlight mode for some Dell CML 2020 panels Lyude Paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).