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

From: Rodrigo Siqueira
Date: Wed Mar 22 2023 - 12:05:41 EST


Cc: Anthony Koo <anthony.koo@xxxxxxx>
Cc: Iswara Negulendran <iswara.nagulendran@xxxxxxx>
Cc: Felipe Clark <felipe.clark@xxxxxxx>
Cc: Harry Wentland <Harry.Wentland@xxxxxxx>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@xxxxxxx>
---
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