[PATCH] drm/display: Add missing OLED Vesa brightnesses definitions

Rodrigo Siqueira Rodrigo.Siqueira at amd.com
Wed Mar 22 16:05:13 UTC 2023


Cc: Anthony Koo <anthony.koo at amd.com>
Cc: Iswara Negulendran <iswara.nagulendran at amd.com>
Cc: Felipe Clark <felipe.clark at amd.com>
Cc: Harry Wentland <Harry.Wentland at amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
---
 include/drm/display/drm_dp.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h
index 632376c291db..d30a9b2f450c 100644
--- a/include/drm/display/drm_dp.h
+++ b/include/drm/display/drm_dp.h
@@ -977,6 +977,8 @@
 # define DP_EDP_BACKLIGHT_FREQ_AUX_SET_CAP		(1 << 5)
 # define DP_EDP_DYNAMIC_BACKLIGHT_CAP			(1 << 6)
 # define DP_EDP_VBLANK_BACKLIGHT_UPDATE_CAP		(1 << 7)
+#define DP_EDP_OLED_VESA_BRIGHTNESS_ON      0x80
+# define DP_EDP_OLED_VESA_CAP				(1 << 4)
 
 #define DP_EDP_GENERAL_CAP_2		    0x703
 # define DP_EDP_OVERDRIVE_ENGINE_ENABLED		(1 << 0)
-- 
2.39.2



More information about the amd-gfx mailing list