projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044feb8
)
drm/amdgpu: skip dpm check to init imu fw
author
Likun Gao
<Likun.Gao@amd.com>
Thu, 29 Feb 2024 13:20:51 +0000
(21:20 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 2 May 2024 20:18:11 +0000
(16:18 -0400)
Skip dpm check to init imu firmware for imu v12.
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/gfx_v12_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
index
6a2af12
..
33fe519
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
@@
-461,7
+461,7
@@
static int gfx_v12_0_init_microcode(struct amdgpu_device *adev)
/* only one MEC for gfx 12 */
adev->gfx.mec2_fw = NULL;
- if (adev->gfx.imu.funcs
&& (amdgpu_dpm > 0)
) {
+ if (adev->gfx.imu.funcs) {
if (adev->gfx.imu.funcs->init_microcode) {
err = adev->gfx.imu.funcs->init_microcode(adev);
if (err)