mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
bios drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
calcs drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
clk_mgr drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
core drm/amd/display: DML Validation Dump/Check with Logging 2019-11-19 10:12:53 -05:00
dce drm/amd/display: Clean up some code with unused registers 2019-11-19 10:12:52 -05:00
dce80 drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
dce100 drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
dce110 drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dce112 drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
dce120 drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
dcn10 drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
dcn20 drm/amd/display: DML Validation Dump/Check with Logging 2019-11-19 10:12:53 -05:00
dcn21 drm/amd/display: DML Validation Dump/Check with Logging 2019-11-19 10:12:53 -05:00
dml drm/amd/display: Adjust DML workaround threshold 2019-11-19 10:12:52 -05:00
dsc drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
gpio drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
hdcp drm/amd/display: remove redundant null pointer check before kfree 2019-10-30 11:07:13 -04:00
inc drm/amd/display: DML Validation Dump/Check with Logging 2019-11-19 10:12:53 -05:00
irq drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
virtual drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_bios_types.h drm/amd/display: make firmware info only load once during dc_bios create 2019-08-15 10:53:36 -05:00
dc_ddc_types.h drm/amd/display: Proper return of result when aux engine acquire fails 2019-10-25 16:50:09 -04:00
dc_dmub_srv.c drm/amd/display: Spin for DMCUB PHY init in DC 2019-11-19 10:12:53 -05:00
dc_dmub_srv.h drm/amd/display: Add DMUB support to DC 2019-11-13 15:29:42 -05:00
dc_dp_types.h drm/amd/display: add color space option when sending link test pattern 2019-11-19 10:12:52 -05:00
dc_dsc.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_helper.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
dc_hw_types.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_link.h drm/amd/display: add color space option when sending link test pattern 2019-11-19 10:12:52 -05:00
dc_stream.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_types.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc.h drm/amd/display: DML Validation Dump/Check with Logging 2019-11-19 10:12:53 -05:00
dm_cp_psp.h drm/amd/display: Update hdcp display config 2019-10-03 09:10:58 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dm_pp_smu.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dm_services_types.h drm/amd/display: PPLIB Hookup 2019-03-05 15:09:32 -05:00
dm_services.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
os_types.h drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00