linux/drivers/gpu/drm/amd/display/dc
Qingqing Zhuo 2a50edbf10 drm/amd/display: Apply w/a for hard hang on HPD
[Why]
HPD disable and enable sequences are not mutually exclusive
on Linux. For HPDs that spans under 1s (i.e. HPD low = 1s),
part of the disable sequence (specifically, a request to SMU
to lower refclk) could come right before the call to PHY
enablement, causing DMUB to access an irresponsive PHY
and thus a hard hang on the system.

[How]
Disable 48mhz refclk off when there is any HPD status in
connected state.

Reviewed-by: Hersen Wu <hersenwu@amd.com>
Acked-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-09-14 15:57:10 -04:00
..
basics Revert "drm/amd/display: Unblank hubp based on plane visibility" 2021-02-18 16:43:10 -05:00
bios drm/amd/display: Add DP 2.0 BIOS and DMUB Support 2021-09-01 16:55:10 -04:00
calcs drm/amd/display: Add support for SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616. 2021-05-27 15:00:47 -04:00
clk_mgr drm/amd/display: Apply w/a for hard hang on HPD 2021-09-14 15:57:10 -04:00
core drm/amd/display: Get backlight from PWM if DMCU is not initialized 2021-09-14 15:57:10 -04:00
dce drm/amd/display: Get backlight from PWM if DMCU is not initialized 2021-09-14 15:57:10 -04:00
dce60 drm/amd/display/dc/dce60/dce60_resource: Include our own header containing prototypes 2021-01-14 13:20:21 -05:00
dce80 drm/amd/display: Return last used DRR VTOTAL from DC 2021-06-08 12:20:12 -04:00
dce100 drm/amd/display/dc/dce100/dce100_resource: Include our own header containing prototypes 2021-01-14 13:20:20 -05:00
dce110 drm/amd/display: Fix dynamic link encoder access. 2021-09-14 15:57:09 -04:00
dce112 drm/amd/display/dc/dce112/dce112_resource: Include our own header file containing prototypes 2021-01-14 13:20:20 -05:00
dce120 drm/amd/display: Return last used DRR VTOTAL from DC 2021-06-08 12:20:12 -04:00
dcn10 drm/amd/display: Fix dynamic link encoder access. 2021-09-14 15:57:09 -04:00
dcn20 drm/amd/display: Fix dynamic link encoder access. 2021-09-14 15:57:09 -04:00
dcn21 drm/amd/display: Move specific DCN2x code that uses FPU to DML 2021-08-05 21:17:59 -04:00
dcn30 drm/amd/display: Fix multiple memory leaks reported by coverity 2021-09-14 15:57:10 -04:00
dcn31 drm/amd/display: Fix multiple memory leaks reported by coverity 2021-09-14 15:57:10 -04:00
dcn301 drm/amd/display: Fix multiple memory leaks reported by coverity 2021-09-14 15:57:10 -04:00
dcn302 drm/amd/display: Fix multiple memory leaks reported by coverity 2021-09-14 15:57:10 -04:00
dcn303 drm/amd/display: add missing ABM register offsets 2021-09-01 16:55:10 -04:00
dml drm/amd/display: Update swizzle mode enums 2021-09-01 16:55:10 -04:00
dsc drm/amd/display: move bpp range decision in decide dsc bw range function 2021-09-14 15:57:09 -04:00
gpio drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
hdcp drm/amd/display: Enforce DPCD Address ranges 2021-06-15 17:25:41 -04:00
inc drm/amd/display: Fix dynamic link encoder access. 2021-09-14 15:57:09 -04:00
irq drm/amd/display: Apply w/a for hard hang on HPD 2021-09-14 15:57:10 -04:00
virtual drm/amd/display: Add DPCD writes at key points 2021-09-14 15:57:09 -04:00
dc_bios_types.h drm/amd/display: Interface for LTTPR interop 2021-04-09 16:48:25 -04:00
dc_ddc_types.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dc_dmub_srv.c drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
dc_dmub_srv.h drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
dc_dp_types.h drm/amd/display: Add DP 2.0 SST DC Support 2021-09-01 16:55:10 -04:00
dc_dsc.h drm/amd/display: move bpp range decision in decide dsc bw range function 2021-09-14 15:57:09 -04:00
dc_edid_parser.c drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_edid_parser.h drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_helper.c drm/amd/display/dc/dc_helper: Include our own header, containing prototypes 2021-01-14 13:20:20 -05:00
dc_hw_types.h drm/amd/display: Add support for SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616. 2021-05-27 15:00:47 -04:00
dc_link.h drm/amd/display: Fork thread to offload work of hpd_rx_irq 2021-09-14 15:57:09 -04:00
dc_stat.h drm/amd/display: DMUB Outbound Interrupt Process-X86 2021-07-08 15:14:36 -04:00
dc_stream.h drm/amd/display: Return last used DRR VTOTAL from DC 2021-06-08 12:20:12 -04:00
dc_trace.h drm/amd/display: Add control mechanism for FPU utilization 2021-08-05 21:17:59 -04:00
dc_types.h drm/amd/display: Add DP 2.0 SST DC Support 2021-09-01 16:55:10 -04:00
dc.h drm/amd/display: 3.2.151 2021-09-14 15:57:10 -04:00
dm_cp_psp.h drm/amd/display: Add DP 2.0 SST DC Support 2021-09-01 16:55:10 -04:00
dm_event_log.h
dm_helpers.h drm/amd/display: Add DP 2.0 SST DC Support 2021-09-01 16:55:10 -04:00
dm_pp_smu.h drm/amdgpu/pm: display vcn pp dpm (v4) 2021-05-21 10:31:55 -04:00
dm_services_types.h
dm_services.h drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
irq_types.h drm/amd/display: DMUB Outbound Interrupt Process-X86 2021-07-08 15:14:36 -04:00
Makefile drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
os_types.h drm/amd/display: Add control mechanism for FPU 2021-08-05 21:17:59 -04:00