diff mbox series

[2/5] xen: flag xen_drm_front to be not essential for system boot

Message ID 20211022064800.14978-3-jgross@suse.com (mailing list archive)
State New, archived
Headers show
Series xen: cleanup detection of non-essential pv devices | expand

Commit Message

Jürgen Groß Oct. 22, 2021, 6:47 a.m. UTC
Similar to the virtual frame buffer (vfb) the pv display driver is not
essential for booting the system. Set the respective flag.

Signed-off-by: Juergen Gross <jgross@suse.com>
---
 drivers/gpu/drm/xen/xen_drm_front.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Oleksandr Andrushchenko Oct. 22, 2021, 7:24 a.m. UTC | #1
Hi, Juergen!

On 22.10.21 09:47, Juergen Gross wrote:
> Similar to the virtual frame buffer (vfb) the pv display driver is not
> essential for booting the system. Set the respective flag.
>
> Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
> ---
>   drivers/gpu/drm/xen/xen_drm_front.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/xen/xen_drm_front.c b/drivers/gpu/drm/xen/xen_drm_front.c
> index 9f14d99c763c..bc7605324db3 100644
> --- a/drivers/gpu/drm/xen/xen_drm_front.c
> +++ b/drivers/gpu/drm/xen/xen_drm_front.c
> @@ -773,6 +773,7 @@ static struct xenbus_driver xen_driver = {
>   	.probe = xen_drv_probe,
>   	.remove = xen_drv_remove,
>   	.otherend_changed = displback_changed,
> +	.not_essential = true,
>   };
>   
>   static int __init xen_drv_init(void)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/xen/xen_drm_front.c b/drivers/gpu/drm/xen/xen_drm_front.c
index 9f14d99c763c..bc7605324db3 100644
--- a/drivers/gpu/drm/xen/xen_drm_front.c
+++ b/drivers/gpu/drm/xen/xen_drm_front.c
@@ -773,6 +773,7 @@  static struct xenbus_driver xen_driver = {
 	.probe = xen_drv_probe,
 	.remove = xen_drv_remove,
 	.otherend_changed = displback_changed,
+	.not_essential = true,
 };
 
 static int __init xen_drv_init(void)