drm/amd/display: Add back support for DSC 4:2:2 Simple
authorNikola Cornij <nikola.cornij@amd.com>
Thu, 15 Aug 2019 15:13:54 +0000 (11:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:55:09 +0000 (17:55 -0500)
[why]
The requirement has been clarified and only DSC 4:2:2 Native has to
be disabled.

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c

index 1b419407af942b57aa9e0f2b0b05f2b3597a86db..63eb377ed9c03fcc9e0dfbafd09977394147f65a 100644 (file)
@@ -118,7 +118,7 @@ static void dsc2_get_enc_caps(struct dsc_enc_caps *dsc_enc_caps, int pixel_clock
 
        dsc_enc_caps->color_formats.bits.RGB = 1;
        dsc_enc_caps->color_formats.bits.YCBCR_444 = 1;
-       dsc_enc_caps->color_formats.bits.YCBCR_SIMPLE_422 = 0;
+       dsc_enc_caps->color_formats.bits.YCBCR_SIMPLE_422 = 1;
        dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_422 = 0;
        dsc_enc_caps->color_formats.bits.YCBCR_NATIVE_420 = 1;