[PATCH 5.4 290/314] drm/amd/display: Use swap() where appropriate