projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8c3e8
)
drm/amdgpu: fix sdma v4 init microcode error
author
Likun Gao
<Likun.Gao@amd.com>
Wed, 28 Sep 2022 07:48:07 +0000
(15:48 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 29 Sep 2022 13:42:08 +0000
(09:42 -0400)
Fix init SDMA microcode error for sdma v4, which caused by mistake when
rearch sdma init microcode function (coding 4.2.2 to 4.2.0).
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index 631a5b5828d8c3aac83e6046ecf80fbae6a604bb..7241a9fb0121f62c299bec60e8c52e51419dc4ca 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@
-621,7
+621,7
@@
static int sdma_v4_0_init_microcode(struct amdgpu_device *adev)
snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_sdma.bin", chip_name);
else
snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_sdma%d.bin", chip_name, i);
- if (adev->ip_versions[SDMA0_HWIP][0] == IP_VERSION(4, 2,
0
) ||
+ if (adev->ip_versions[SDMA0_HWIP][0] == IP_VERSION(4, 2,
2
) ||
adev->ip_versions[SDMA0_HWIP][0] == IP_VERSION(4, 4, 0)) {
/* Acturus & Aldebaran will leverage the same FW memory
for every SDMA instance */