diff options
author | Lijo Lazar <[email protected]> | 2023-07-25 11:00:08 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-07-25 16:26:38 -0400 |
commit | bc1688fce2ec7726112276650762275392d1bab1 (patch) | |
tree | a5646402159fa000a8d69588f012ecc4784738f3 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 38ac4e8385ffb275b1837986ca6c16f26ea028c5 (diff) |
drm/amdgpu: Restore HQD persistent state register
On GFX v9.4.3, compute queue MQD is populated using the values in HQD
persistent state register. Hence don't clear the values on module
unload, instead restore it to the default reset value so that MQD is
initialized correctly during next module load. In particular, preload
flag needs to be set on compute queue MQD, otherwise it could cause
uninitialized values being used at device reset state resulting in EDC.
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Reviewed-by: Asad Kamal <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions