Re: [PATCH v2] virtgpu: don't reset on shutdown

From: Gerd Hoffmann
Date: Tue Apr 15 2025 - 07:17:41 EST


Hi,

> +static void virtio_gpu_shutdown(struct virtio_device *vdev)
> +{
> + /*
> + * drm does its own synchronization on shutdown.
> + * Do nothing here, opt out of device reset.
> + */

I think a call to 'drm_dev_unplug()' is what you need here.

take care,
Gerd