On 1/7/26 21:27, [email protected] wrote: > +#ifdef CONFIG_PM_SLEEP > +static int virtgpu_freeze(struct virtio_device *vdev) > +{ > + struct drm_device *dev = vdev->priv; > + struct virtio_gpu_device *vgdev = dev->dev_private; > + int error; > + > + error = drm_mode_config_helper_suspend(dev); > + if (error) { > + DRM_ERROR("suspend error %d\n", error);
Nit: better to use DRM_DEV_ERROR everywhere to know which device produces the error -- Best regards, Dmitry
