diff options
| author | Nicholas Kazlauskas <[email protected]> | 2024-01-30 20:24:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-02-14 22:13:37 +0000 |
| commit | b5e161e42e0af7b55d4627aa68922765db2d9367 (patch) | |
| tree | aa47d02a5be615231369b35bb14521a3ee073609 /drivers/gpu/drm/amd/amdgpu/soc21.c | |
| parent | drm/amd/display: fixed integer types and null check locations (diff) | |
| download | kernel-b5e161e42e0af7b55d4627aa68922765db2d9367.tar.gz kernel-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 <[email protected]>
Acked-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc21.c')
0 files changed, 0 insertions, 0 deletions
