aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2021-07-30 18:35:09 +0000
committerThomas Zimmermann <[email protected]>2021-08-02 14:41:20 +0000
commit0ec77bd92b513aa4e556e5b92ccd993677d21cbc (patch)
tree9f2df07e1ee0f0eecde3ea398a2a870ad08ec322 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/gem: Provide drm_gem_fb_{vmap,vunmap}() (diff)
downloadkernel-0ec77bd92b513aa4e556e5b92ccd993677d21cbc.tar.gz
kernel-0ec77bd92b513aa4e556e5b92ccd993677d21cbc.zip
drm/gem: Clear mapping addresses for unused framebuffer planes
Set the returned mapping address to NULL if a framebuffer plane does not have a BO associated with it. Likewise, ignore mappings of NULL during framebuffer unmap operations. Allows users of the functions to perform unmap operations of certain BOs by themselfes. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions