OpenCloudOS-Kernel/drivers/gpu/drm/amd
Lijo Lazar bc1688fce2 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>
2023-07-25 16:26:38 -04:00
..
acp
amdgpu drm/amdgpu: Restore HQD persistent state register 2023-07-25 16:26:38 -04:00
amdkfd drm/amdkfd: fix trap handling work around for debugging 2023-07-25 16:13:58 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event() 2023-07-25 16:23:51 -04:00
include drm/amdgpu: add the accelerator PCIe class 2023-06-09 12:48:57 -04:00
pm drm/amd/smu: use AverageGfxclkFrequency* to replace previous GFX Curr Clock 2023-07-25 16:17:17 -04:00