summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h
diff options
context:
space:
mode:
authorSung Joon Kim <sungkim@amd.com>2023-08-09 23:39:53 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-10-09 23:50:27 +0300
commit1d93c4db4e0fc82e9f975af213fd8dd00dd6ecc8 (patch)
tree9b9a7d44a70ec5ef109ea9b68970adee175d07c4 /drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h
parente47d7ca7574a12e3711807724fcd5dacc2ed9b8f (diff)
downloadlinux-1d93c4db4e0fc82e9f975af213fd8dd00dd6ecc8.tar.xz
drm/amd/display: Use fixed DET Buffer Size
[why] Regression from DML1.0 where we use differen DET buffer sizes for each pipe. From the spec, we need to use DET buffer size of 384 kb for each pipe [how] Ensure to use 384 kb DET buffer sizes for each available pipe. Reviewed-by: Charlene Liu <charlene.liu@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Sung Joon Kim <sungkim@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h b/drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h
index 4d0377354bdd..f3b85b0891d3 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h
+++ b/drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h
@@ -137,6 +137,7 @@ struct dml2_configuration_options {
bool skip_hw_state_mapping;
bool optimize_odm_4to1;
bool minimize_dispclk_using_odm;
+ bool override_det_buffer_size_kbytes;
struct dml2_dc_callbacks callbacks;
struct {
bool force_disable_subvp;