diff options
author | 2020-01-06 13:57:45 +0100 | |
---|---|---|
committer | 2020-01-07 11:53:19 +0100 | |
commit | 0fb5f69e19643569b6d42ce437a830e95555f1e5 (patch) | |
tree | d737dbaa6ffbc63b3bb9d17db2d837bbb690b603 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/vram-helper: Remove BO device from public interface (diff) | |
download | wireguard-linux-0fb5f69e19643569b6d42ce437a830e95555f1e5.tar.xz wireguard-linux-0fb5f69e19643569b6d42ce437a830e95555f1e5.zip |
drm/vram-helper: Support struct drm_driver.gem_create_object
Drivers that what to allocate VRAM GEM objects with additional fields
can now do this by implementing struct drm_driver.gem_create_object.
v3:
* separately check allocation failure in if/else branches
before upcast to gbo
v2:
* only cast to gbo within if branch; set gbo directly
in else branch
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200106125745.13797-9-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions