aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h
diff options
context:
space:
mode:
authorWenjing Liu <[email protected]>2021-04-22 18:01:25 +0000
committerAlex Deucher <[email protected]>2021-05-10 22:06:44 +0000
commitdf0a271cc794639ef537f21c4c56893e40972523 (patch)
tree69dd34b25616bb4e6a1dcf9bdaece689c3511154 /drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h
parentdrm/amd/display: fix potential gpu reset deadlock (diff)
downloadkernel-df0a271cc794639ef537f21c4c56893e40972523.tar.gz
kernel-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 <[email protected]> Reviewed-by: Chris Park <[email protected]> Acked-by: Wayne Lin <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h
index f520e13aee4c..f94135c6e3c2 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h
@@ -88,6 +88,7 @@ struct dsc_enc_caps {
int32_t max_total_throughput_mps; /* Maximum total throughput with all the slices combined */
int32_t max_slice_width;
uint32_t bpp_increment_div; /* bpp increment divisor, e.g. if 16, it's 1/16th of a bit */
+ bool is_dp;
};
struct dsc_funcs {