diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/si.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c index 9bf7afb2f74e..6a85daa63d21 100644 --- a/drivers/gpu/drm/amd/amdgpu/si.c +++ b/drivers/gpu/drm/amd/amdgpu/si.c | |||
| @@ -1138,7 +1138,7 @@ static int si_set_uvd_clocks(struct amdgpu_device *adev, u32 vclk, u32 dclk) | |||
| 1138 | static void si_detect_hw_virtualization(struct amdgpu_device *adev) | 1138 | static void si_detect_hw_virtualization(struct amdgpu_device *adev) |
| 1139 | { | 1139 | { |
| 1140 | if (is_virtual_machine()) /* passthrough mode */ | 1140 | if (is_virtual_machine()) /* passthrough mode */ |
| 1141 | adev->virtualization.virtual_caps |= AMDGPU_PASSTHROUGH_MODE; | 1141 | adev->virt.caps |= AMDGPU_PASSTHROUGH_MODE; |
| 1142 | } | 1142 | } |
| 1143 | 1143 | ||
| 1144 | static const struct amdgpu_asic_funcs si_asic_funcs = | 1144 | static const struct amdgpu_asic_funcs si_asic_funcs = |
