dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add DRM property for panel type
@ 2026-01-06 17:00 Mario Limonciello (AMD)
  2026-01-06 17:00 ` [PATCH 1/2] drm/connector: Add a new 'panel_type' property Mario Limonciello (AMD)
  2026-01-06 17:00 ` [PATCH 2/2] drm/amd/display: Attach OLED property to eDP panels Mario Limonciello (AMD)
  0 siblings, 2 replies; 6+ messages in thread
From: Mario Limonciello (AMD) @ 2026-01-06 17:00 UTC (permalink / raw)
  To: dri-devel; +Cc: amd-gfx, harry.wentland, Xaver Hugl, Mario Limonciello (AMD)

OLED panels consume a lot less power with darker content.  However
userspace doesn't currently know what kind of panel technology is
used to decide what kind of image to show.

This series introduces a DRM property for the panel type.  Initially
the values are "Unknown" and "OLED" leaving room for expansion later
for other display technologies like MiniLED or LCD if they are sensible
to detect and advertise as well.

A userspace implementation utilizing the new property to decide the
theme of GNOME is available here:

Link: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4029

Mario Limonciello (AMD) (2):
  drm/connector: Add a new 'panel_type' property
  drm/amd/display: Attach OLED property to eDP panels

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  7 ++++
 drivers/gpu/drm/drm_connector.c               | 33 +++++++++++++++++++
 include/drm/drm_connector.h                   |  1 +
 include/drm/drm_mode_config.h                 |  4 +++
 include/uapi/drm/drm_mode.h                   |  4 +++
 5 files changed, 49 insertions(+)

-- 
2.43.0


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

end of thread, other threads:[~2026-01-09 19:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 17:00 [PATCH 0/2] Add DRM property for panel type Mario Limonciello (AMD)
2026-01-06 17:00 ` [PATCH 1/2] drm/connector: Add a new 'panel_type' property Mario Limonciello (AMD)
2026-01-06 17:00 ` [PATCH 2/2] drm/amd/display: Attach OLED property to eDP panels Mario Limonciello (AMD)
2026-01-08 18:46   ` Leo Li
2026-01-09  8:16     ` Jani Nikula
2026-01-09 19:17       ` Leo Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox