summaryrefslogtreecommitdiff
path: root/samsung/exynos_drm_connector.h
diff options
context:
space:
mode:
authorShiyong Li <shiyongli@google.com>2021-11-04 22:36:24 +0000
committerTreeHugger Robot <treehugger-gerrit@google.com>2021-11-25 02:30:41 +0000
commit63ecb0ab3220bcdf15144cc0625c88bcbb9916c8 (patch)
treeebf0c1b8893ed6915fb3d584ba33e9989b21794f /samsung/exynos_drm_connector.h
parentc7d6a2fabdc2d5adede0c93bd7d2f85aa203d498 (diff)
downloaddisplay-63ecb0ab3220bcdf15144cc0625c88bcbb9916c8.tar.gz
drm: samsung: support more configurations of dsc encoder
Some panel need more parameter customization in dpu dsc encoder to better align to the DDIC decoder's. Bug: 204493377 Tests: check dsc encoder pps registers Signed-off-by: Shiyong Li <shiyongli@google.com> Change-Id: Ia2bd45bf1740e174779a2697d03541f1e188ee07
Diffstat (limited to 'samsung/exynos_drm_connector.h')
-rw-r--r--samsung/exynos_drm_connector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/samsung/exynos_drm_connector.h b/samsung/exynos_drm_connector.h
index b72d5b2..5aa8807 100644
--- a/samsung/exynos_drm_connector.h
+++ b/samsung/exynos_drm_connector.h
@@ -13,6 +13,7 @@
#include <drm/drm_atomic.h>
#include <drm/drm_connector.h>
#include <drm/samsung_drm.h>
+#include <drm/drm_dsc.h>
#define MIN_WIN_BLOCK_WIDTH 8
#define MIN_WIN_BLOCK_HEIGHT 1
@@ -51,6 +52,8 @@ struct exynos_display_dsc {
unsigned int dsc_count;
unsigned int slice_count;
unsigned int slice_height;
+
+ const struct drm_dsc_config *cfg;
};
struct exynos_display_partial {