drm/virtio: implement virtio_gpu_shutdown
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 7 May 2025 08:28:21 +0000 (10:28 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Aug 2025 13:11:07 +0000 (09:11 -0400)
commit2507789a724d607fa9e162dcadeb9f51b071fc49
treeeafbb69dc77b4f507acbc0f9a84cf20a848f54f0
parent89a216ed973e49d6f39a6976bcead3b631171b64
drm/virtio: implement virtio_gpu_shutdown

Calling drm_dev_unplug() is the drm way to say the device
is gone and can not be accessed any more.

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20250507082821.2710706-1-kraxel@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/gpu/drm/virtio/virtgpu_drv.c