]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix disable DSC logic in the DIO code
authorEric Bernstein <eric.bernstein@amd.com>
Tue, 25 Jan 2022 19:42:12 +0000 (14:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Oct 2022 16:02:23 +0000 (12:02 -0400)
commit291863407b676e93bbd02fda180cf667d06f6705
tree9bcec9cb6981e8786a7b656b9f512bae2d84b27d
parent1191df6180cdd3cac9a43ef53d8222bddbe1b75c
drm/amd/display: Fix disable DSC logic in the DIO code

[Why]
In DIO stream encoder, definition of DP_DSC_MODE is changed (only
enable/disable) In OPTC, OTG_SET_V_TOTAL_MIN_MASK_EN is removed (same as
DCN3.1)

[How]
In DIO stream encoder, update enc32_dp_set_dsc_config(). In OPTC, use
DCN3.1 version for function interfaces .set_vrr_m_const and .set_drr

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Eric Bernstein <eric.bernstein@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_stream_encoder.c