diff options
| author | Gerd Hoffmann <[email protected]> | 2018-10-19 08:18:42 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2018-10-29 22:50:55 +0100 |
| commit | 23c897d72ca8064c626be0ef73fe671488d584bb (patch) | |
| tree | 7f3fb51dc44840cda5601e9cb2c2a92902a72519 /tools/lib/api/debug.c | |
| parent | 918d89bb1a639adf28a61d0a35c24a2b256ca635 (diff) | |
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 <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions