linux/drivers/gpu/drm/amd/display/dc/i2caux
Harry Wentland 2004f45ef8 drm/amd/display: Use kernel alloc/free
Abstractions are frowned upon.

cocci script:
virtual context
virtual patch
virtual org
virtual report

@@
expression ptr;
@@

- dm_alloc(ptr)
+ kzalloc(ptr, GFP_KERNEL)

@@
expression ptr, size;
@@

- dm_realloc(ptr, size)
+ krealloc(ptr, size, GFP_KERNEL)

@@
expression ptr;
@@

- dm_free(ptr)
+ kfree(ptr)

v2: use GFP_KERNEL, not GFP_ATOMIC. add cocci script

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-09-28 16:46:15 -04:00
..
dce80 drm/amd/display: Use kernel alloc/free 2017-09-28 16:46:15 -04:00
dce100 drm/amd/display: Use kernel alloc/free 2017-09-28 16:46:15 -04:00
dce110 drm/amd/display: Use kernel alloc/free 2017-09-28 16:46:15 -04:00
dce112 drm/amd/display: Use kernel alloc/free 2017-09-28 16:46:15 -04:00
dce120 drm/amd/display: Use kernel alloc/free 2017-09-28 16:46:15 -04:00
dcn10 drm/amd/display: Use kernel alloc/free 2017-09-28 16:46:15 -04:00
diagnostics drm/amd/display: Use kernel alloc/free 2017-09-28 16:46:15 -04:00
aux_engine.c drm/amd/display: add aux arbitration logic 2017-09-26 18:17:15 -04:00
aux_engine.h drm/amd/display: add aux arbitration logic 2017-09-26 18:17:15 -04:00
engine_base.c
engine.h
i2c_engine.c
i2c_engine.h
i2c_generic_hw_engine.c
i2c_generic_hw_engine.h
i2c_hw_engine.c
i2c_hw_engine.h
i2c_sw_engine.c drm/amd/display: Use kernel alloc/free 2017-09-28 16:46:15 -04:00
i2c_sw_engine.h
i2caux.c drm/amd/display/dc: add DCE_VERSION for DCE8 APUs 2017-09-26 18:16:32 -04:00
i2caux.h
Makefile drm/amdgpu/display: Enable DCN in DC 2017-09-26 18:06:51 -04:00