[PATCH v3 2/2] drm/virtio: Implement save and restore for virtio_gpu_objects
Dmitry Osipenko
dmitry.osipenko at collabora.com
Wed Jul 9 11:23:06 UTC 2025
On 7/3/25 01:24, dongwon.kim at intel.com wrote:
> @@ -257,8 +290,11 @@ int virtio_gpu_object_create(struct virtio_gpu_device *vgdev,
> objs, fence);
> virtio_gpu_object_attach(vgdev, bo, ents, nents);
> }
> + /* add submitted object to restore list */
> + virtio_gpu_object_add_restore_list(vgdev, bo, params);
The list should be protected with a mutex
--
Best regards,
Dmitry
More information about the dri-devel
mailing list