From: Yongxin Liu <[email protected]>

This patch introduces a new kernel feature fragment for enabling
Intel Xe Graphics DRM driver support via CONFIG_DRM_XE. The feature
is specifically required for Intel Xe2 and later generation GPUs.

Signed-off-by: Yongxin Liu <[email protected]>
---
 features/xe/xe.cfg | 3 +++
 features/xe/xe.scc | 5 +++++
 kern-features.rc   | 1 +
 3 files changed, 9 insertions(+)
 create mode 100644 features/xe/xe.cfg
 create mode 100644 features/xe/xe.scc

diff --git a/features/xe/xe.cfg b/features/xe/xe.cfg
new file mode 100644
index 00000000..0860ff98
--- /dev/null
+++ b/features/xe/xe.cfg
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: MIT
+
+CONFIG_DRM_XE=m
diff --git a/features/xe/xe.scc b/features/xe/xe.scc
new file mode 100644
index 00000000..41a5d2ab
--- /dev/null
+++ b/features/xe/xe.scc
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: MIT
+define KFEATURE_DESCRIPTION "Enable Intel Xe Graphics support"
+define KFEATURE_COMPATIBILITY board
+
+kconf hardware xe.cfg
diff --git a/kern-features.rc b/kern-features.rc
index cac0c5cb..4f7d7722 100644
--- a/kern-features.rc
+++ b/kern-features.rc
@@ -88,6 +88,7 @@
        config = features/ftrace/ftrace.scc
        config = features/vxlan/vxlan-enable.scc
        config = features/i915/i915.scc
+       config = features/xe/xe.scc
        config = features/nfc/nfc-generic.scc
        config = features/nfc/nfc-vendor.scc
        config = features/profiling/profiling.scc
-- 
2.46.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16288): 
https://lists.yoctoproject.org/g/linux-yocto/message/16288
Mute This Topic: https://lists.yoctoproject.org/mt/117648876/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to