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>
Fri, 1 Apr 2022 03:05:53 +0000 (23:05 -0400)
commita905f0b59fefe819c59bacf9d0cfa678c96fcb8c
tree6116e89a1f7cab7d950409de3521c351291d68a2
parent384bd90d1cc1168dc845ad2735d7a3d49459fbba
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