Skip to content

Commit 095ca81

Browse files
committed
drm/amdgpu: fix type for wptr in ring backup
Needs to be a u64. Fixes: 77cc0da ("drm/amdgpu: track ring state associated with a fence") Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 56fff19)
1 parent fd2ac11 commit 095ca81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ void amdgpu_fence_save_wptr(struct amdgpu_fence *af)
763763
}
764764

765765
static void amdgpu_ring_backup_unprocessed_command(struct amdgpu_ring *ring,
766-
u64 start_wptr, u32 end_wptr)
766+
u64 start_wptr, u64 end_wptr)
767767
{
768768
unsigned int first_idx = start_wptr & ring->buf_mask;
769769
unsigned int last_idx = end_wptr & ring->buf_mask;

0 commit comments

Comments
 (0)