linux_dsm_epyc7002/drivers/gpu/drm/amd/display
Nicholas Kazlauskas b1e9da7f7d drm/amd/display: Wait for clean shutdown in DMCUB reset
[Why]
The DMCUB may be currently executing commands when the reset is
triggered.

Before issuing a reset we should first wait for the DMCUB to finish
its work.

[How]
Send the GPINT command for halting the firmware before reset.

Get the ack for the command then wait for the scratch register to
become the correct value.

We want this to take under ~40us or so at most before we force reset
to cover PHY delay sequence max time.

Each register read will be at least ~1-3us so don't bother using udelay.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-02-06 15:04:37 -05:00
..
amdgpu_dm drm/amd/display: Fix psr static frames calculation 2020-02-06 15:04:36 -05:00
dc drm/amd/display: Fix various issues found by compiler warning as errors 2020-02-06 15:04:37 -05:00
dmub drm/amd/display: Wait for clean shutdown in DMCUB reset 2020-02-06 15:04:37 -05:00
include drm/amd/display: add Pollock IDs, fix Pollock & Dali clk mgr construct 2020-01-14 10:18:10 -05:00
modules drm/amd/display: update psp interface header 2020-02-04 23:30:40 -05:00
Kconfig amdgpu: Enable initial DCN support on POWER 2019-12-18 16:09:05 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO