summaryrefslogtreecommitdiff
path: root/samsung/exynos_drm_connector.h
diff options
context:
space:
mode:
authorWilliam Tai <williamtai@google.com>2020-11-21 11:09:33 +0800
committerWilliam Tai <williamtai@google.com>2020-12-16 15:18:18 +0800
commitddea50e129d3800cc7f0df00d45a641cb8c53d3c (patch)
tree47206e2f83d2acd38c4a730bfe885f4923b8339e /samsung/exynos_drm_connector.h
parentcb2d5ce3c6a0cf6d10bb05436b99a91dddfc5af0 (diff)
downloaddisplay-ddea50e129d3800cc7f0df00d45a641cb8c53d3c.tar.gz
samsung: add brightness drm properties
Create brightness drm properties for brightness and hbm control Bug: 139369336 Signed-off-by: William Tai <williamtai@google.com> Change-Id: Ia8b62d71e9f9de79fc14843d8575a79172695f9a
Diffstat (limited to 'samsung/exynos_drm_connector.h')
-rw-r--r--samsung/exynos_drm_connector.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/samsung/exynos_drm_connector.h b/samsung/exynos_drm_connector.h
index ecb0073..df3dc15 100644
--- a/samsung/exynos_drm_connector.h
+++ b/samsung/exynos_drm_connector.h
@@ -12,6 +12,7 @@
#include <drm/drm_atomic.h>
#include <drm/drm_connector.h>
+#include <drm/samsung_drm.h>
struct exynos_drm_connector;
@@ -21,6 +22,9 @@ struct exynos_drm_connector_properties {
struct drm_property *min_luminance;
struct drm_property *hdr_formats;
struct drm_property *lp_mode;
+ struct drm_property *hbm_on;
+ struct drm_property *brightness_capability;
+ struct drm_property *brightness_level;
};
struct exynos_display_dsc {