Skip to content

Commit bcaff99

Browse files
committed
nfd: gpu: allow i915 and xe drivers both compiled-in and as modules
Signed-off-by: Tuomas Katila <[email protected]>
1 parent 6b0a65f commit bcaff99

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

deployments/nfd/overlays/node-feature-rules/node-feature-rules.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,23 @@ spec:
5757
matchExpressions:
5858
vendor: {op: In, value: ["8086"]}
5959
class: {op: In, value: ["0300", "0380"]}
60-
- feature: kernel.loadedmodule
61-
matchExpressions:
62-
i915: {op: Exists}
60+
matchAny:
61+
- matchFeatures:
62+
- feature: kernel.loadedmodule
63+
matchExpressions:
64+
i915: {op: Exists}
65+
- matchFeatures:
66+
- feature: kernel.enabledmodule
67+
matchExpressions:
68+
i915: {op: Exists}
69+
- matchFeatures:
70+
- feature: kernel.loadedmodule
71+
matchExpressions:
72+
xe: {op: Exists}
73+
- matchFeatures:
74+
- feature: kernel.enabledmodule
75+
matchExpressions:
76+
xe: {op: Exists}
6377

6478
- name: "intel.iaa"
6579
labels:

0 commit comments

Comments
 (0)