Re: [PATCH 5/8] drm/virtio: track created object state

2018-10-17 Thread Gerd Hoffmann
On Thu, Oct 18, 2018 at 11:25:22AM +1000, Dave Airlie wrote: > On Mon, 1 Oct 2018 at 20:33, Gerd Hoffmann wrote: > > > > 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

Re: [PATCH 5/8] drm/virtio: track created object state

2018-10-17 Thread Dave Airlie
On Mon, 1 Oct 2018 at 20:33, Gerd Hoffmann wrote: > > 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