aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2024-07-24 15:37:49 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-07-25 17:43:23 -0400
commitf3c681f0c3b171db923d6147785064962351e043 (patch)
tree4ddb4a2c2e62f74fc16556fa5afe2bf7a1287a7e /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentfdedd77b0eb31209c59107de66880ef0be21a77a (diff)
drm/amd/display: use swap() in sort()
Use existing swap() function rather than duplicating its implementation. ./drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn3.c:17:29-30: WARNING opportunity for swap(). Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9573 Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions