diff options
| author | Lijo Lazar <[email protected]> | 2022-03-10 11:15:53 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 13:43:22 +0000 |
| commit | 5db392a04575120de4e73ee10c0dc727426100c7 (patch) | |
| tree | fde6757a413b97cd58254957e4daece0537b2151 | |
| parent | drm/amdkfd: Update coherence settings for svm ranges (diff) | |
| download | kernel-5db392a04575120de4e73ee10c0dc727426100c7.tar.gz kernel-5db392a04575120de4e73ee10c0dc727426100c7.zip | |
drm/amdgpu: Use new atomfirmware init for GC 9.4.3
Use the new atomfirmware initialization logic for GC 9.4.3 based ASICs
also. ASIC init logic doesn't consider boot clocks during init.
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 82a3d0ff6560..54be85539ecb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -942,7 +942,8 @@ static int amdgpu_device_asic_init(struct amdgpu_device *adev) { amdgpu_asic_pre_asic_init(adev); - if (adev->ip_versions[GC_HWIP][0] >= IP_VERSION(11, 0, 0)) + if (adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 3) || + adev->ip_versions[GC_HWIP][0] >= IP_VERSION(11, 0, 0)) return amdgpu_atomfirmware_asic_init(adev, true); else return amdgpu_atom_asic_init(adev->mode_info.atom_context); |
