aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/kgd_pp_interface.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-10-10 16:11:58 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-10-10 19:39:07 -0500
commitff06184a49fde886bcb6150168905e334e22650c (patch)
tree22c15420fc3950384e0e7e5eed74ced3671a4fad /drivers/gpu/drm/amd/include/kgd_pp_interface.h
parentdrm/amd/display: Use swap() where appropriate (diff)
downloadlinux-ff06184a49fde886bcb6150168905e334e22650c.tar.gz
linux-ff06184a49fde886bcb6150168905e334e22650c.zip
drm/amdgpu/powerplay: Use swap() where appropriate
@swap@ identifier TEMP; expression A,B; @@ - TEMP = A; - A = B; - B = TEMP; + swap(A, B); @@ type T; identifier swap.TEMP; @@ ( - T TEMP; | - T TEMP = {...}; ) ... when != TEMP Cc: Rex Zhu <rex.zhu@amd.com> Cc: Evan Quan <evan.quan@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com> Cc: amd-gfx@lists.freedesktop.org Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/kgd_pp_interface.h')
0 files changed, 0 insertions, 0 deletions