diff options
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c index 277db5ef9ca7..321ca7ac2693 100644 --- 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) |
