summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_types.h
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2021-04-22 14:01:25 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-05-10 18:06:44 -0400
commitdf0a271cc794639ef537f21c4c56893e40972523 (patch)
tree69dd34b25616bb4e6a1dcf9bdaece689c3511154 /drivers/gpu/drm/amd/display/dc/dc_types.h
parentcf8b92a75646735136053ce51107bfa8cfc23191 (diff)
downloadlinux-stable-df0a271cc794639ef537f21c4c56893e40972523.tar.gz
linux-stable-df0a271cc794639ef537f21c4c56893e40972523.tar.bz2
linux-stable-df0a271cc794639ef537f21c4c56893e40972523.zip
drm/amd/display: add dsc stream overhead for dp only
[why] Based on hardware team recommendation this additional dsc overhead is only required for DP DSC. [how] Add a check for is_dp and only apply the overhead if this flag is set. Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Reviewed-by: Chris Park <Chris.Park@amd.com> Acked-by: Wayne Lin <Wayne.Lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h
index 432754eaf10b..78bc10aeb201 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_types.h
@@ -909,6 +909,7 @@ struct dsc_dec_dpcd_caps {
uint32_t branch_overall_throughput_0_mps; /* In MPs */
uint32_t branch_overall_throughput_1_mps; /* In MPs */
uint32_t branch_max_line_width;
+ bool is_dp;
};
struct dc_golden_table {