diff options
author | 2018-09-18 23:35:32 +0800 | |
---|---|---|
committer | 2018-11-05 14:20:36 -0500 | |
commit | 6dfeb11a4b48e4994ac9e22eef5720f17d1f3502 (patch) | |
tree | 7e10e783984f63754a4272b8cc55d71f6306fcc1 /drivers/gpu/drm/amd/display/dc/inc | |
parent | Linux 4.20-rc1 (diff) | |
download | wireguard-linux-6dfeb11a4b48e4994ac9e22eef5720f17d1f3502.tar.xz wireguard-linux-6dfeb11a4b48e4994ac9e22eef5720f17d1f3502.zip |
drm/amdkfd: Use kmemdup instead of duplicating its function
kmemdup has implemented the function that kmalloc() + memcpy().
We prefer to kmemdup rather than code opened implementation.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc')
0 files changed, 0 insertions, 0 deletions