linux/drivers/gpu/drm/amd
Nicholas Kazlauskas a6e4da40bd drm/amd/display: Spin for DMCUB PHY init in DC
[Why]
DCN will hang if we access registers before PHY init is done.

So we need to spin or abort.

[How]
On hardware with DMCUB running and working we shouldn't time out
waiting for this to finish and we shouldn't hit the spin cycle.

If there's no hardware support then we should exit out of the function
early assuming that PHY init was already done elsewhere.

If we hit the timeout then there's likely a bug in firmware or software
and we need to debug - add errors and asserts as appropriate.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-19 10:12:53 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu/nv: add asic func for fetching vbios from rom directly 2019-11-19 10:12:51 -05:00
amdkfd drm/amdkfd: remove set but not used variable 'top_dev' 2019-11-19 10:12:51 -05:00
display drm/amd/display: Spin for DMCUB PHY init in DC 2019-11-19 10:12:53 -05:00
include drm/amdgpu: add JPEG PG and CG interface 2019-11-19 10:12:50 -05:00
powerplay drm/amd/powerplay: correct fine grained dpm force level setting 2019-11-19 10:12:51 -05:00