]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Wait until OTG enable state is cleared
authorTungYu Lu <tungyu.lu@amd.com>
Tue, 15 Jul 2025 08:56:59 +0000 (16:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Aug 2025 15:13:21 +0000 (11:13 -0400)
commite7496c15d830689cc4fc666b976c845ed2c5ed28
treebee110e078d38eec1902da3d30150f5fb02ff33e
parentc31f486bc8dd6f481adcb9cca4a6e1837b8cf127
drm/amd/display: Wait until OTG enable state is cleared

[Why]
Customer reported an issue that OS starts and stops device multiple times
during driver installation. Frequently disabling and enabling OTG may
prevent OTG from being safely disabled and cause incorrect configuration
upon the next enablement.

[How]
Add a wait until OTG_CURRENT_MASTER_EN_STATE is cleared as a short term
solution.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: TungYu Lu <tungyu.lu@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@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/optc/dcn401/dcn401_optc.c