aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorRodrigo Siqueira <siqueira@igalia.com>2025-09-08 17:15:38 -0600
committerAlex Deucher <alexander.deucher@amd.com>2025-09-15 16:51:15 -0400
commitf307cfb91734b36bde2597552971553d91838048 (patch)
treead564dda72877e5f741d46711c04aae7ecd6b3e7 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: Remove volatile from RLC files (diff)
downloadlinux-f307cfb91734b36bde2597552971553d91838048.tar.gz
linux-f307cfb91734b36bde2597552971553d91838048.zip
drm/amdgpu: Remove volatile from ring manipulation
None of the pointer operations handled by the ring file requires volatile, for this reason, this commit removes all occurrences of volatile associated with rings. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Rodrigo Siqueira <siqueira@igalia.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 17848ce65d1f..6d123172bb0a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -545,7 +545,7 @@ struct amdgpu_wb {
* this value can be accessed directly by using the offset as an index.
* For the GPU address, it is necessary to use gpu_addr and the offset.
*/
- volatile uint32_t *wb;
+ uint32_t *wb;
/**
* @gpu_addr: