]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Remove volatile from RLC files
authorRodrigo Siqueira <siqueira@igalia.com>
Mon, 8 Sep 2025 23:15:37 +0000 (17:15 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Sep 2025 20:51:09 +0000 (16:51 -0400)
commitb8fc541089582ed77cc567bb28a83abe834e8902
tree7a92cf2d8cf124138b8370a6e54953f76bf0d50a
parentd8586afe38984f9eb98d6753c9b1134295d55ceb
drm/amdgpu: Remove volatile from RLC files

The RLC uses volatile with some pointers that are not directly related
to any of the situations where volatile is advised to be used [1]. For
this reason, this commit removes all the volatile occurrences associated
with RLC.

1. https://docs.kernel.org/process/volatile-considered-harmful.html

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h