Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b18300c authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/gfx7: fix broken condition check



Wrong operator.

Reported-by: default avatarDavid Binderman <linuxdev.baldrick@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 05082b8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4833,7 +4833,7 @@ static int gfx_v7_0_eop_irq(struct amdgpu_device *adev,
	case 2:
		for (i = 0; i < adev->gfx.num_compute_rings; i++) {
			ring = &adev->gfx.compute_ring[i];
			if ((ring->me == me_id) & (ring->pipe == pipe_id))
			if ((ring->me == me_id) && (ring->pipe == pipe_id))
				amdgpu_fence_process(ring);
		}
		break;