Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Hawking Zhang and committed by
Alex Deucher
09a75a23 fcc4fc75

+2 -2
+2 -2
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
··· 3866 3866 adev->gfx.imu.mode = MISSION_MODE; 3867 3867 else 3868 3868 adev->gfx.imu.mode = DEBUG_MODE; 3869 - 3870 - adev->gfx.imu.funcs = &gfx_v12_1_imu_funcs; 3869 + if (!amdgpu_sriov_vf(adev)) 3870 + adev->gfx.imu.funcs = &gfx_v12_1_imu_funcs; 3871 3871 } 3872 3872 3873 3873 static void gfx_v12_1_set_rlc_funcs(struct amdgpu_device *adev)