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)
commitfe674c0b6f5382b7c377ca2c418c26dd78b428b4
tree9bcec9cb6981e8786a7b656b9f512bae2d84b27d
parent3f4dee59253a6882acde98a2a027e55f1330ae86
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