It's not supported under SR-IOV at the moment.
Acked-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
        struct amdgpu_device *adev = ring->adev;
        int r;
 
+       if (amdgpu_sriov_vf(adev))
+               return -EINVAL;
+
        r = amdgpu_mes_reset_legacy_queue(ring->adev, ring, vmid, false);
        if (r)
                return r;
        struct amdgpu_device *adev = ring->adev;
        int i, r = 0;
 
+       if (amdgpu_sriov_vf(adev))
+               return -EINVAL;
+
        gfx_v11_0_set_safe_mode(adev, 0);
        mutex_lock(&adev->srbm_mutex);
        soc21_grbm_select(adev, ring->me, ring->pipe, ring->queue, 0);