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

Commit b98724db authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/gfx9: clear the compute ring on reset



To be consistent with gfx8.

Reviewed-by: default avatarmonk liu <monk.liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0ef376ca
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2149,6 +2149,7 @@ static int gfx_v9_0_kiq_init_queue(struct amdgpu_ring *ring)

		/* reset ring buffer */
		ring->wptr = 0;
		amdgpu_ring_clear_ring(ring);

		if (is_kiq) {
		    mutex_lock(&adev->srbm_mutex);