aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-09-18 10:09:04 +0000
committerSam Ravnborg <[email protected]>2020-09-25 14:34:50 +0000
commit06f4277463ba695287829e0b52d9b82be44f99bf (patch)
treeed7a746a922fd5656478d12d210ea7e74f6c69df /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/vram-helper: Don't put new BOs into VRAM (diff)
downloadkernel-06f4277463ba695287829e0b52d9b82be44f99bf.tar.gz
kernel-06f4277463ba695287829e0b52d9b82be44f99bf.zip
fbdev: simplify fb_getput_cmap()
This function is one of the remaining users of compat_alloc_user_space() and copy_in_user(). Clean it up by copying to a local data structure copy instead, which also leads to more readable code. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Daniel Vetter <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions