]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amd/display: Emulate Display Hotplug Hang
authorDaniel Sa <Daniel.Sa@amd.com>
Fri, 23 Aug 2024 15:29:23 +0000 (11:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Sep 2024 20:15:06 +0000 (16:15 -0400)
commitd18a56b247f4f3f7dbdd3adeeebd05c23f1e3d3e
tree158a00de90703c326f79ca5eb8610020895d8ea1
parentf588da30a20cf184f150420e4098b694908a4207
drm/amd/display: Emulate Display Hotplug Hang

[WHY]
Driver reports 0 display when the virtual display is still present, and
causes P-state hang in FW.

[HOW]
When enumerating through streams, check for active planes and use that
to indicate number of displays.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Daniel Sa <Daniel.Sa@amd.com>
Signed-off-by: Alex Hung <alex.hung@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/clk_mgr/clk_mgr.c