mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 02:53:36 +02:00
drm/amdgpu: Do not initialize imu callback for vf
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>
This commit is contained in:
parent
fcc4fc758e
commit
09a75a234b
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user