Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
28 lines
598 B
Diff
28 lines
598 B
Diff
--- a/src/uxa/intel_dri.c
|
|
+++ b/src/uxa/intel_dri.c
|
|
@@ -1540,8 +1540,10 @@
|
|
return has_i830_dri() ? "i830" : "i915";
|
|
else if (INTEL_INFO(intel)->gen < 040)
|
|
return "i915";
|
|
+ else if (INTEL_INFO(intel)->gen < 0100)
|
|
+ return "crocus";
|
|
else
|
|
- return "i965";
|
|
+ return "iris";
|
|
}
|
|
|
|
return s;
|
|
--- a/src/sna/sna_dri2.c
|
|
+++ b/src/sna/sna_dri2.c
|
|
@@ -3707,8 +3707,10 @@
|
|
return has_i830_dri() ? "i830" : "i915";
|
|
else if (sna->kgem.gen < 040)
|
|
return "i915";
|
|
+ else if (sna->kgem.gen < 0100)
|
|
+ return "crocus";
|
|
else
|
|
- return "i965";
|
|
+ return "iris";
|
|
}
|
|
|
|
return s;
|