1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display
Nicholas Kazlauskas 20a5e52f37 drm/amd/display: Wait for DMCUB to finish loading before executing commands
[Why]
When we execute the first command for ASIC_INIT for command table
offloading we can hit a timing scenario such that the interrupts
for the inbox wptr haven't been enabled yet and the first command
is ignored until the second command is sent.

[How]
This happens when either the SCRATCH0 is already the correct status
code or autoload check is unsupported.

Clear SCRATCH0 during reset.

Also ensure that we don't accidentally reset the ASIC again in case
of a hang by clearing GPINT while we're at it.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Chris Park <Chris.Park@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-02-25 11:03:15 -05:00
..
amdgpu_dm drm/amd/display: DMUB Firmware Load by PSP 2020-02-25 11:02:59 -05:00
dc drm/amd/display: Disable PG on NV12 2020-02-25 11:03:05 -05:00
dmub drm/amd/display: Wait for DMCUB to finish loading before executing commands 2020-02-25 11:03:15 -05:00
include drm/amd/display: Add AUX backlight register 2020-02-11 11:50:00 -05:00
modules drm/amd/display: Fix message for encryption 2020-02-12 16:03:06 -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 drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00