Commit 31ef9693 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/gfx9: per queue reset only on bare metal



It's not supported under SR-IOV at the moment.

Acked-by: default avatarVitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4dc4422f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7164,6 +7164,9 @@ static int gfx_v9_0_reset_kcq(struct amdgpu_ring *ring,
	unsigned long flags;
	int i, r;

	if (amdgpu_sriov_vf(adev))
		return -EINVAL;

	if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues)
		return -EINVAL;

+3 −0
Original line number Diff line number Diff line
@@ -3471,6 +3471,9 @@ static int gfx_v9_4_3_reset_kcq(struct amdgpu_ring *ring,
	unsigned long flags;
	int r, i;

	if (amdgpu_sriov_vf(adev))
		return -EINVAL;

	if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues)
		return -EINVAL;