summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2023-07-25 08:30:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-07-25 23:26:38 +0300
commitbc1688fce2ec7726112276650762275392d1bab1 (patch)
treea5646402159fa000a8d69588f012ecc4784738f3 /drivers/gpu/drm/amd/amdkfd
parent38ac4e8385ffb275b1837986ca6c16f26ea028c5 (diff)
downloadlinux-bc1688fce2ec7726112276650762275392d1bab1.tar.xz
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/amd/amdkfd')
0 files changed, 0 insertions, 0 deletions