]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: remove volatile qualifier
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 23 Aug 2015 00:57:38 +0000 (03:57 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Oct 2015 20:08:30 +0000 (16:08 -0400)
commit5ad757dfa06ee164437136f814df0af2a8458c42
treef41dd3a96db53a12fb38b9337ba5e0bb4b141b1d
parentfc0e45d9b568d4356df96150c40825b3d4828bf4
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>
drivers/gpu/drm/radeon/evergreen_cs.c