aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
diff options
context:
space:
mode:
authorChen Jiahao <[email protected]>2023-08-16 02:19:58 +0000
committerAlex Deucher <[email protected]>2023-08-30 18:56:47 +0000
commitd903af1a918fa1be628ad9c2a4412293c861cd6c (patch)
treeb48ed759203b462ef4af76396f6e43a1c710ec81 /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
parentdrm/amdgpu/pm: Add notification for no DC support (diff)
downloadkernel-d903af1a918fa1be628ad9c2a4412293c861cd6c.tar.gz
kernel-d903af1a918fa1be628ad9c2a4412293c861cd6c.zip
drm/amd/amdgpu: Use kmemdup to simplify kmalloc and memcpy logic
Using kmemdup() helper function rather than implementing it again with kmalloc() + memcpy(), which improves the code readability. Signed-off-by: Chen Jiahao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c')
0 files changed, 0 insertions, 0 deletions