diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2024-01-30 15:24:56 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-02-14 17:13:37 -0500 |
commit | b5e161e42e0af7b55d4627aa68922765db2d9367 (patch) | |
tree | aa47d02a5be615231369b35bb14521a3ee073609 /init/version.c | |
parent | 616b39467e816851335277d817ec98b7a9b92758 (diff) | |
download | linux-stable-b5e161e42e0af7b55d4627aa68922765db2d9367.tar.gz linux-stable-b5e161e42e0af7b55d4627aa68922765db2d9367.tar.bz2 linux-stable-b5e161e42e0af7b55d4627aa68922765db2d9367.zip |
drm/amd/display: Add shared firmware state for DMUB IPS handshake
[Why]
Read modify write hazards can occur when using a single shared scratch
register between driver and firmware leading to driver accessing DCN
in IPS2 and a system hang.
[How]
Add infrastructure for using REGION6 as a shared firmware state between
driver and firmware. This region is uncachable.
Replace the existing get/set idle calls with reads/writes to the
(volatile) shared firmware state blocks that a separated by at least
a cache line between firmware and driver.
Remove the workarounds that required rewriting/checking read modify
write hazards.
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'init/version.c')
0 files changed, 0 insertions, 0 deletions