Skip to content

Instantly share code, notes, and snippets.

@kuzetsa
Last active August 21, 2022 08:55
Show Gist options
  • Save kuzetsa/ccf37a4276cd505b3ae09ac2991e6e44 to your computer and use it in GitHub Desktop.
Save kuzetsa/ccf37a4276cd505b3ae09ac2991e6e44 to your computer and use it in GitHub Desktop.
patch for iris Xe ~ [Xe Graphics] ~ feature support in media-libs/mesa-22.1.5
--- /usr/portage/media-libs/mesa/mesa-22.1.5.ebuild 2022-08-06 00:40:39.000000000 -0400
+++ mesa-22.1.5-r9.ebuild 2022-08-21 04:50:02.980214455 -0400
@@ -28 +28 @@
-VIDEO_CARDS="${RADEON_CARDS} freedreno intel lima nouveau panfrost v3d vc4 virgl vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} freedreno intel crocus i915 iris lima nouveau panfrost v3d vc4 virgl vivante vmware"
@@ -226,0 +227 @@
+ ! use video_cards_iris &&
@@ -229 +230 @@
- ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain freedreno, intel, radeonsi, or v3d"
+ ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain freedreno, intel, iris, radeonsi, or v3d"
@@ -242,0 +244 @@
+ ! use video_cards_iris &&
@@ -244 +246 @@
- ewarn "Ignoring USE=vaapi since VIDEO_CARDS does not contain r600, radeonsi, or nouveau"
+ ewarn "Ignoring USE=vaapi since VIDEO_CARDS does not contain r600, radeonsi, iris, or nouveau"
@@ -259,0 +262 @@
+ ! use video_cards_i915 &&
@@ -261 +264 @@
- ewarn "Ignoring USE=xa since VIDEO_CARDS does not contain freedreno, nouveau, or vmware"
+ ewarn "Ignoring USE=xa since VIDEO_CARDS does not contain freedreno, nouveau, i915, or vmware"
@@ -268 +271 @@
- ewarn "Ignoring USE=xvmc since VIDEO_CARDS does not contain r600 or nouveau"
+ ewarn "Ignoring USE=xvmc since VIDEO_CARDS does not contain r600, or nouveau"
@@ -332,0 +336 @@
+ use video_cards_iris ||
@@ -350,0 +355 @@
+ use video_cards_intel ||
@@ -375 +380 @@
- gallium_enable video_cards_intel crocus i915 iris
+ gallium_enable video_cards_intel intel crocus i915 iris
@@ -401 +406 @@
- vulkan_enable video_cards_intel intel
+ vulkan_enable video_cards_intel intel crocus i915 iris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment