diff options
author | Thomas Zimmermann <[email protected]> | 2021-07-30 20:35:09 +0200 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2021-08-02 16:41:20 +0200 |
commit | 0ec77bd92b513aa4e556e5b92ccd993677d21cbc (patch) | |
tree | 9f2df07e1ee0f0eecde3ea398a2a870ad08ec322 /lib/netdev-notifier-error-inject.c | |
parent | f6424ecdb3c8aba18997a6992f780ab9c27734bc (diff) |
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 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions