]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Exit idle optimizations before accessing PHY
authorOvidiu Bunea <Ovidiu.Bunea@amd.com>
Mon, 3 Feb 2025 20:43:32 +0000 (15:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Feb 2025 20:08:56 +0000 (15:08 -0500)
commitc488967488d7eff7b9c527d5469c424c15377502
tree3d7ba79563403c3a9091aaa8ae5f656b53a23de6
parentf9d35b945c599e8dbed17f484e82b4ad3d21721a
drm/amd/display: Exit idle optimizations before accessing PHY

[why & how]
By default, DCN HW is in idle optimized state which does not allow access
to PHY registers. If BIOS powers up the DCN, it is fine because they will
power up everything. Only exit idle optimized state when not taking control
from VBIOS.

Fixes: be704e5ef4bd ("Revert "drm/amd/display: Exit idle optimizations before attempt to access PHY"")
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Ovidiu Bunea <Ovidiu.Bunea@amd.com>
Signed-off-by: Roman Li <roman.li@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/hwss/dce110/dce110_hwseq.c