summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc
diff options
context:
space:
mode:
authorFangzhi Zuo <jerry.zuo@amd.com>2023-10-18 09:38:33 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-11-07 11:17:03 -0500
commit8df0d7d33a58d9394bd1240205e393d5f2bab6c7 (patch)
tree39828644a156b47be7e9b12ef4a7e92ec9482d86 /drivers/gpu/drm/amd/display/dc/inc
parent92e11f0159f6635bb8b0a7bb427ddb525bccbcb5 (diff)
downloadlinux-stable-8df0d7d33a58d9394bd1240205e393d5f2bab6c7.tar.gz
linux-stable-8df0d7d33a58d9394bd1240205e393d5f2bab6c7.tar.bz2
linux-stable-8df0d7d33a58d9394bd1240205e393d5f2bab6c7.zip
drm/amd/display: Allow 16 max_slices for DP2 DSC
Enable 12 and 16 max_slices for DP2 DSC Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Acked-by: Hersen Wu <hersenxs.wu@amd.com> Signed-off-by: Fangzhi Zuo <jerry.zuo@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/inc')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h2
1 files changed, 2 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 d7b8d586b523..4b27f29d0d80 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h
@@ -76,6 +76,8 @@ union dsc_enc_slice_caps {
uint8_t NUM_SLICES_3 : 1; /* This one is not per DSC spec, but our encoder supports it */
uint8_t NUM_SLICES_4 : 1;
uint8_t NUM_SLICES_8 : 1;
+ uint8_t NUM_SLICES_12 : 1;
+ uint8_t NUM_SLICES_16 : 1;
} bits;
uint8_t raw;
};