Skip to content

Add DRM property for panel type

Mario Limonciello (AMD) amd-gfx dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/connector: Add a new 'panel_type' propertydrivers/gpu/drm/drm_connector.c include/drm/drm_connector.h include/drm/drm_mode_config.h +1 more+42 -00 replies
2/2drm/amd/display: Attach OLED property to eDP panelsdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+7 -03 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLeo Li
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Add DRM property for panel type

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:

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(+)
Signature · 1 line
2.43.0