Commit b5d055de authored by David Francis's avatar David Francis Committed by Alex Deucher

Revert "drm/amd/display: navi10 bring up skip dsc encoder config"

This reverts commit ec876348.

Re-enable enc2_dp_set_dsc_config. This function caused warnings
due to missing register definitions. With the registers added,
this now works
Signed-off-by: default avatarDavid Francis <David.Francis@amd.com>
Reviewed-by: default avatarRoman Li <Roman.Li@amd.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Reviewed-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent aadeb608
...@@ -279,14 +279,6 @@ static void enc2_dp_set_dsc_config(struct stream_encoder *enc, ...@@ -279,14 +279,6 @@ static void enc2_dp_set_dsc_config(struct stream_encoder *enc,
uint32_t dsc_slice_width) uint32_t dsc_slice_width)
{ {
struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc); struct dcn10_stream_encoder *enc1 = DCN10STRENC_FROM_STRENC(enc);
uint32_t dsc_value = 0;
dsc_value = REG_READ(DP_DSC_CNTL);
/* dsc disable skip */
if ((dsc_value & 0x3) == 0x0)
return;
REG_UPDATE_2(DP_DSC_CNTL, REG_UPDATE_2(DP_DSC_CNTL,
DP_DSC_MODE, dsc_mode, DP_DSC_MODE, dsc_mode,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment