summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-02-27 15:44:41 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-02-28 09:09:02 +0100
commit98f41dc3b3eeabfc80d5d5eb1c1a6294ff59b4ec (patch)
tree3249125249e83bbd2813222f7e4264ff5af44e1e /tools/perf/scripts/python/exported-sql-viewer.py
parent873f51d43439d554f7299e88edfb208924bef6eb (diff)
drm/virtio: implement prime export
Just run drm_prime_pages_to_sg() on the ttm pages list to get an sg_table for export. The pages list is created at object initialization time, so there should be no need to handle an unpopulated page list. Add a sanity check nevertheless. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Noralf Trønnes <noralf@tronnes.org> Link: http://patchwork.freedesktop.org/patch/msgid/20190227144441.6755-4-kraxel@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions