diff options
author | Thomas Zimmermann <[email protected]> | 2020-01-06 13:57:45 +0100 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2020-01-07 11:53:19 +0100 |
commit | 0fb5f69e19643569b6d42ce437a830e95555f1e5 (patch) | |
tree | d737dbaa6ffbc63b3bb9d17db2d837bbb690b603 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a4d46a8e268fcd0cc4235a23d1baabfc588f66f4 (diff) |
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 <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions