aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2017-11-10 22:31:09 +0000
committerAlex Deucher <[email protected]>2017-12-06 17:47:57 +0000
commit8aa111e34deedded58cd8576755f31659ba676f5 (patch)
treeff7d579060ea17d92d03868902cc061fa07b8690 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amd/display/dc/core/dc_resource: use swap macro in rect_swap_helper (diff)
downloadkernel-8aa111e34deedded58cd8576755f31659ba676f5.tar.gz
kernel-8aa111e34deedded58cd8576755f31659ba676f5.zip
drm/amd/display/dc/dce110/dce110_mem_input_v: use swap macro in program_size_and_rotation
Make use of the swap macro instead of _manually_ swapping values and remove unnecessary variable swap. 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_object.c')
0 files changed, 0 insertions, 0 deletions