drm/amd/display: Fixed DSC would not PG after removing DSC stream
authorYi-Ling Chen <Yi-Ling.Chen2@amd.com>
Wed, 10 Nov 2021 06:26:53 +0000 (14:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Nov 2021 20:07:39 +0000 (15:07 -0500)
commit2da8f0beece08a5c3c2e20c0e38e1a4bbc153f9e
tree02ab14ea5b23ce327de46649ecc844d4ebb1fd98
parent2276ee6d1bf9e6a3b7dfbeef05cf71c784ff8c64
drm/amd/display: Fixed DSC would not PG after removing DSC stream

[WHY]
Due to pass the wrong parameter down to the enable_stream_gating(),
it would cause the DSC of the removing stream would not be PG.

[HOW]
To pass the correct parameter down th the enable_stream_gating().

Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Yi-Ling Chen <Yi-Ling.Chen2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c