projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
369b7eb
)
drm/amdgpu: fix sdma instance fw version and feature version init
author
Stanley.Yang
<Stanley.Yang@amd.com>
Mon, 7 Dec 2020 06:38:33 +0000
(14:38 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 9 Dec 2020 15:06:39 +0000
(10:06 -0500)
each sdma instance fw_version and feature_version
should be set right value when asic type isn't
between SIENNA_CICHILD and CHIP_DIMGREY_CAVEFISH
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
b/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
index
9f39527
..
2a48505
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
+++ b/
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
@@
-186,7
+186,7
@@
static int sdma_v5_2_init_microcode(struct amdgpu_device *adev)
if (err)
goto out;
- err = sdma_v5_2_init_inst_ctx(&adev->sdma.instance[
0
]);
+ err = sdma_v5_2_init_inst_ctx(&adev->sdma.instance[
i
]);
if (err)
goto out;
}