aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <[email protected]>2016-05-19 11:15:28 +0000
committerAlex Deucher <[email protected]>2016-05-19 15:01:02 +0000
commitc688c641c514933aa82c9707c99a6fff8831e103 (patch)
tree79599be64d55fd978090b8dbaecc5d2b375ee982 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
parentdrm/amd/powerplay/hwmgr: use kmemdup (diff)
downloadkernel-c688c641c514933aa82c9707c99a6fff8831e103.tar.gz
kernel-c688c641c514933aa82c9707c99a6fff8831e103.zip
drm/amd/powerplay/hwmgr: use kmemdup
Use kmemdup when some other buffer is immediately copied into allocated region. It replaces call to allocation followed by memcpy, by a single call to kmemdup. Signed-off-by: Muhammad Falak R Wani <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions