Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Remove 4:2:2 DSC support

[why]
If DSC is available, a higher picture quality is achieved by using
DSC with 4:4:4 format. Using 4:2:2 instead does not offer any benefit
and would only introduce loss of quality. Removing it reduces
maintenance and testing effort.

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Nikola Cornij and committed by
Alex Deucher
cf718049 e5382701

+2 -2
+2 -2
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c
··· 118 118 119 119 dsc_enc_caps->color_formats.bits.RGB = 1; 120 120 dsc_enc_caps->color_formats.bits.YCBCR_444 = 1; 121 - dsc_enc_caps->color_formats.bits.YCBCR_SIMPLE_422 = 1; 122 - dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_422 = 1; 121 + dsc_enc_caps->color_formats.bits.YCBCR_SIMPLE_422 = 0; 122 + dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_422 = 0; 123 123 dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_420 = 1; 124 124 125 125 dsc_enc_caps->color_depth.bits.COLOR_DEPTH_8_BPC = 1;