]> git.hungrycats.org Git - linux/commit
drm/amd/display: Fix white screen on boot with OLED panel
authorRay Wu <ray.wu@amd.com>
Thu, 23 Apr 2026 07:06:12 +0000 (15:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 May 2026 20:10:12 +0000 (16:10 -0400)
commit70840d70000e3a1d6d9c54e6f5ea29fd9328774b
tree1c6deb60b3e993d422507bc2e99e8cec05c9555e
parent4be20905baed4a422427acf4c4fc6e437984049c
drm/amd/display: Fix white screen on boot with OLED panel

[Why]
During mode change, replay_event_general_ui may remain set on the old
stream while replay_event_hw_programming is set. This can re-enable
Replay too early before hardware programming is complete.

[How]
Clear replay_event_general_ui in the mode-change path when setting
replay_event_hw_programming to keep Replay blocked until programming
finishes, avoiding white screen on OLED panels after boot.

Reviewed-by: Sunpeng Li <sunpeng.li@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: James Lin <pinglei.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c