diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-10-19 09:18:42 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-10-30 00:50:55 +0300 |
commit | 23c897d72ca8064c626be0ef73fe671488d584bb (patch) | |
tree | 7f3fb51dc44840cda5601e9cb2c2a92902a72519 /tools/perf/scripts/python/stat-cpi.py | |
parent | 918d89bb1a639adf28a61d0a35c24a2b256ca635 (diff) | |
download | linux-23c897d72ca8064c626be0ef73fe671488d584bb.tar.xz |
drm/virtio: track created object state
Track whenever the virtio_gpu_object is already created (i.e. host knows
about it) in a new variable. Add checks to virtio_gpu_object_attach()
to do nothing on objects not created yet.
Make virtio_gpu_ttm_bo_destroy() use the new variable too, instead of
expecting hw_res_handle indicating the object state.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20181019061847.18958-2-kraxel@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions