xref: /openbmc/linux/drivers/gpu/drm/xen/Kconfig (revision c575b7ee)
1config DRM_XEN
2	bool "DRM Support for Xen guest OS"
3	depends on XEN
4	help
5	  Choose this option if you want to enable DRM support
6	  for Xen.
7
8config DRM_XEN_FRONTEND
9	tristate "Para-virtualized frontend driver for Xen guest OS"
10	depends on DRM_XEN
11	depends on DRM
12	select DRM_KMS_HELPER
13	select VIDEOMODE_HELPERS
14	select XEN_XENBUS_FRONTEND
15	help
16	  Choose this option if you want to enable a para-virtualized
17	  frontend DRM/KMS driver for Xen guest OSes.
18
19config DRM_XEN_FRONTEND_CMA
20	bool "Use DRM CMA to allocate dumb buffers"
21	depends on DRM_XEN_FRONTEND
22	select DRM_KMS_CMA_HELPER
23	select DRM_GEM_CMA_HELPER
24	help
25	  Use DRM CMA helpers to allocate display buffers.
26	  This is useful for the use-cases when guest driver needs to
27	  share or export buffers to other drivers which only expect
28	  contiguous buffers.
29	  Note: in this mode driver cannot use buffers allocated
30	  by the backend.
31