Den 30.01.2019 10.43, skrev Gerd Hoffmann: > Specifically call virtio_gpu_object_create() before ttm_bo_init(), so > the object is already created when ttm calls the > virtio_gpu_ttm_tt_bind() callback (which in turn calls > virtio_gpu_object_attach()). > > With that in place virtio_gpu_object_attach() will never be called with > an object which is not yet created, so the extra > virtio_gpu_object_attach() calls done after > virtio_gpu_cmd_create_resource() is not needed any more. > > Signed-off-by: Gerd Hoffmann <kraxel@xxxxxxxxxx> > --- Acked-by: Noralf Trønnes <noralf@xxxxxxxxxxx> _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization