aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2017-11-10 22:38:13 +0000
committerAlex Deucher <[email protected]>2017-12-06 17:47:56 +0000
commit99676f20dc913672166ab3b22fe29c20a2c27a82 (patch)
tree765a08a55b9d28ac36f4e1b307c3e497095ac54d /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdgpu/gmc9: make some ECC messages debug only (diff)
downloadkernel-99676f20dc913672166ab3b22fe29c20a2c27a82.tar.gz
kernel-99676f20dc913672166ab3b22fe29c20a2c27a82.zip
drm/amd/display/dc/core/dc_resource: use swap macro in rect_swap_helper
Make use of the swap macro instead of _manually_ swapping values and remove unnecessary variable temp. This makes the code easier to read and maintain. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions