Skip to content

Commit e202b59

Browse files
committed
fix a memset in amdgpu_seq64
1 parent 3507d8c commit e202b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ int amdgpu_seq64_init(struct amdgpu_device *adev)
240240
return r;
241241
}
242242

243-
memset(adev->seq64.cpu_base_addr, 0, AMDGPU_VA_RESERVED_SEQ64_SIZE);
243+
memset_io(adev->seq64.cpu_base_addr, 0, AMDGPU_VA_RESERVED_SEQ64_SIZE);
244244

245245
adev->seq64.num_sem = AMDGPU_MAX_SEQ64_SLOTS;
246246
memset(&adev->seq64.used, 0, sizeof(adev->seq64.used));

0 commit comments

Comments
 (0)