diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2023-07-25 11:00:08 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-25 13:47:27 -0400 |
commit | b5ac08806c07ab86645c6fbaa5832214c1d10e34 (patch) | |
tree | 929f222f1185063a72e4d934cb5e8e2f63b37661 /drivers/gpu/drm/radeon/pptable.h | |
parent | 355da5d48e10620c52ef262bb857266e24b67be4 (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 <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/pptable.h')
0 files changed, 0 insertions, 0 deletions