From 99e75f8c642bdbde4d6a9984e1983b3047448bfc Mon Sep 17 00:00:00 2001 From: Eric Chanudet Date: Mon, 21 Jun 2021 18:34:33 -0400 Subject: [PATCH] openxt-kmeta: add fragments for radeon/nouveau vGlass can compose guests using radeon/nouveau drivers. Provide config fragments to include these in installer/dom0 where they can be used. Signed-off-by: Eric Chanudet --- recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/nouveau.cfg | 1 + recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/nouveau.scc | 5 +++++ recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/radeon.cfg | 2 ++ recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/radeon.scc | 5 +++++ 4 files changed, 13 insertions(+) create mode 100644 recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/nouveau.cfg create mode 100644 recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/nouveau.scc create mode 100644 recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/radeon.cfg create mode 100644 recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/radeon.scc diff --git a/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/nouveau.cfg b/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/nouveau.cfg new file mode 100644 index 0000000000..9375fdfc7a --- /dev/null +++ b/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/nouveau.cfg @@ -0,0 +1 @@ +CONFIG_DRM_NOUVEAU=m diff --git a/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/nouveau.scc b/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/nouveau.scc new file mode 100644 index 0000000000..64e2e11626 --- /dev/null +++ b/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/nouveau.scc @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: MIT +define KFEATURE_DESCRIPTION "Enable DRM support for Nouveau drivers" +define KFEATURE_COMPATIBILITY board + +kconf hardware nouveau.cfg diff --git a/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/radeon.cfg b/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/radeon.cfg new file mode 100644 index 0000000000..bf442e24d9 --- /dev/null +++ b/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/radeon.cfg @@ -0,0 +1,2 @@ +CONFIG_DRM_RADEON=m +CONFIG_FB_RADEON=m diff --git a/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/radeon.scc b/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/radeon.scc new file mode 100644 index 0000000000..9c810dd861 --- /dev/null +++ b/recipes-kernel/linux/files/openxt-kmeta/bsp/gpu/radeon.scc @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: MIT +define KFEATURE_DESCRIPTION "Enable DRM support for Radeon drivers" +define KFEATURE_COMPATIBILITY board + +kconf hardware radeon.cfg