drm/amdgpu: Add amdgpu_ring_clear_ring_and_ptrs()

A new helper function which clears the contents of
a ring and the relevant pointers such as rptr/wptr.

Suggested-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Timur Kristóf 2026-09-08 20:10:48 +02:00 • committed by Alex Deucher
commit de73eb26f9