linux_dsm_epyc7002/drivers/gpu/drm/amd/display
Ville Syrjälä 34b86b75df drm/amd/display: Use swap() where appropriate
Mostly a cocci-job, but it flat out refused to remove the
declaration in drivers/gpu/drm/amd/display/dc/core/dc.c so
had to do that part manually.

@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: Harry Wentland <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@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: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-10 19:39:06 -05:00
..
amdgpu_dm drm/amd/display: correct stream LTE_340MCSC_SCRAMBLE value 2019-10-10 19:34:33 -05:00
dc drm/amd/display: Use swap() where appropriate 2019-10-10 19:39:06 -05:00
include drm/amd/display: add new active dongle to existent w/a 2019-10-10 19:33:37 -05:00
modules drm/amd/display: Add capability check for static ramp calc 2019-10-10 19:34:20 -05:00
Kconfig drm/amd: Fix Kconfig indentation 2019-10-07 15:11:17 -05:00
Makefile drm/amd/display: Add HDCP module 2019-10-03 09:10:58 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00