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:
fcc4fc7
)
drm/amdgpu: Do not initialize imu callback for vf
author
Hawking Zhang
<Hawking.Zhang@amd.com>
Thu, 7 Aug 2025 14:49:51 +0000
(22:49 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 5 Jan 2026 21:27:28 +0000
(16:27 -0500)
Not needed in guest environment
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
index
277db5e
..
321ca7a
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
@@
-3866,8
+3866,8
@@
static void gfx_v12_1_set_imu_funcs(struct amdgpu_device *adev)
adev->gfx.imu.mode = MISSION_MODE;
else
adev->gfx.imu.mode = DEBUG_MODE;
-
- adev->gfx.imu.funcs = &gfx_v12_1_imu_funcs;
+ if (!amdgpu_sriov_vf(adev))
+
adev->gfx.imu.funcs = &gfx_v12_1_imu_funcs;
}
static void gfx_v12_1_set_rlc_funcs(struct amdgpu_device *adev)