summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2015-08-23 03:57:38 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-10-02 16:08:30 -0400
commit1c5dc33514002395cf07fa818b95ac4ac21364db (patch)
treef41dd3a96db53a12fb38b9337ba5e0bb4b141b1d /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parent7874d3901d752dc9ea31bbb32f519bc9a2c1b6aa (diff)
drm/radeon: remove volatile qualifier
There doesn't seem to be any need to have 'ib' volatile, the code is not even consistent with it and some places already miss it. As it is now it's just making gcc produce worse code. If there are special requirements for that memory, then proper primitives like memory barriers or accessor functions should be used, but it doesn't look like that is needed here. While at it, change the type to match the one in radeon_ib structure. Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions