diff options
author | 2021-07-30 20:35:09 +0200 | |
---|---|---|
committer | 2021-08-02 16:41:20 +0200 | |
commit | 0ec77bd92b513aa4e556e5b92ccd993677d21cbc (patch) | |
tree | 9f2df07e1ee0f0eecde3ea398a2a870ad08ec322 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/gem: Provide drm_gem_fb_{vmap,vunmap}() (diff) | |
download | wireguard-linux-0ec77bd92b513aa4e556e5b92ccd993677d21cbc.tar.xz wireguard-linux-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 <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210730183511.20080-4-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions