drm/amd/display: Clear optc false state when disable otg
authorCharlene Liu <Charlene.Liu@amd.com>
Tue, 15 Mar 2022 20:42:33 +0000 (16:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Apr 2022 15:42:32 +0000 (11:42 -0400)
commit83e9faac9a387894e945e7f33c2bb7a9c348257c
treec1695a24be731deda5fbc7ff7e73f83adefa3e4b
parent58e16c752e9540b28a873c44c3bee83e022007c1
drm/amd/display: Clear optc false state when disable otg

[why]
when disable optc, need to clear the underflow status as well.

Reviewed-by: Chris Park <Chris.Park@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@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/dcn31/dcn31_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.c