Mageia Bugzilla – Attachment 13856 Details for
Bug 31654
XFdrake does not detect Intel Alder Lake-P & RaptorLake-P GPU, and propose vesa instead of intel/modesetting driver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch for AlderLake-P and RaptorLake-P default to modesetting
0001-Force-modesetting-for-AlderLake-P-and-RaptorLake-P-w.patch (text/plain), 1.62 KB, created by
Giuseppe Ghibò
on 2023-05-25 00:49:54 CEST
(
hide
)
Description:
patch for AlderLake-P and RaptorLake-P default to modesetting
Filename:
MIME Type:
Creator:
Giuseppe Ghibò
Created:
2023-05-25 00:49:54 CEST
Size:
1.62 KB
patch
obsolete
>From 64387ce067e08879e41b411903f27a2654f96c33 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Giuseppe=20Ghib=C3=B2?= <ghibo@mageia.org> >Date: Wed, 24 May 2023 23:45:50 +0200 >Subject: [PATCH] Force modesetting for AlderLake-P and RaptorLake-P with Xe > graphics > >On Intel AlderLake-P and RaptorLake-P CPUs with Xe graphics, the intel DDX driver >with Iris DRI actually doesn't work correctly with 3D graphics, while the modesetting driver does. >Force modesetting auto-switching for these cards when no xorg.conf is provided. > >--- > hw/xfree86/common/xf86pciBus.c | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > >diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c >index aeeed8b..d83bf5e 100644 >--- a/hw/xfree86/common/xf86pciBus.c >+++ b/hw/xfree86/common/xf86pciBus.c >@@ -1174,6 +1174,22 @@ xf86VideoPtrToDriverList(struct pci_device *dev, XF86MatchedDrivers *md) > case 0x0bef: > /* Use fbdev/vesa driver on Oaktrail, Medfield, CDV */ > break; >+ case 0x46a0: >+ case 0x46a6: >+ case 0x46a8: >+ case 0x46aa: >+ case 0x46b0: >+ case 0x46b1: >+ case 0x46b6: >+ case 0x46b8: >+ case 0x46ba: >+ case 0x46c1: >+ /* Use modesetting on AlderLake-P with Iris Xe Graphics */ >+ case 0xa7a0: >+ case 0xa7a1: >+ /* Use modesetting on RaptorLake-P with Iris Xe Graphics */ >+ driverList[0] = "modesetting"; >+ break; > default: > driverList[0] = "intel"; > break; >-- >2.40.1 >
From 64387ce067e08879e41b411903f27a2654f96c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giuseppe=20Ghib=C3=B2?= <ghibo@mageia.org> Date: Wed, 24 May 2023 23:45:50 +0200 Subject: [PATCH] Force modesetting for AlderLake-P and RaptorLake-P with Xe graphics On Intel AlderLake-P and RaptorLake-P CPUs with Xe graphics, the intel DDX driver with Iris DRI actually doesn't work correctly with 3D graphics, while the modesetting driver does. Force modesetting auto-switching for these cards when no xorg.conf is provided. --- hw/xfree86/common/xf86pciBus.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c index aeeed8b..d83bf5e 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -1174,6 +1174,22 @@ xf86VideoPtrToDriverList(struct pci_device *dev, XF86MatchedDrivers *md) case 0x0bef: /* Use fbdev/vesa driver on Oaktrail, Medfield, CDV */ break; + case 0x46a0: + case 0x46a6: + case 0x46a8: + case 0x46aa: + case 0x46b0: + case 0x46b1: + case 0x46b6: + case 0x46b8: + case 0x46ba: + case 0x46c1: + /* Use modesetting on AlderLake-P with Iris Xe Graphics */ + case 0xa7a0: + case 0xa7a1: + /* Use modesetting on RaptorLake-P with Iris Xe Graphics */ + driverList[0] = "modesetting"; + break; default: driverList[0] = "intel"; break; -- 2.40.1
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31654
: 13856