Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > f33c4cfc0e55333b80c6bb254dd68789 > files > 6

x11-server-21.1.8-7.mga9.src.rpm

From 3185af3fa1b96bcecaf8cd2eee141a73d17100bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Giuseppe=20Ghib=C3=B2?= <ghibo@mageia.org>
Date: Wed, 7 Jun 2023 10:06:22 +0200
Subject: [PATCH] Force modesetting for RocketLake-S with UHD graphics

---
 hw/xfree86/common/xf86pciBus.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
index d6c174d..7c6f6f3 100644
--- a/hw/xfree86/common/xf86pciBus.c
+++ b/hw/xfree86/common/xf86pciBus.c
@@ -1205,6 +1205,13 @@ xf86VideoPtrToDriverList(struct pci_device *dev, XF86MatchedDrivers *md)
                 case 0x46ba:
                 case 0x46c1:
                         /* Use modesetting on AlderLake-P with Iris Xe Graphics */
+                case 0x4c80:
+                case 0x4c8a:
+                case 0x4c8b:
+                case 0x4c8c:
+                case 0x4c90:
+                case 0x4c9a:
+                        /* Use modesetting on RocketLake-S with UHD Graphics */
                 case 0xa7a0:
                 case 0xa7a1:
                         /* Use modesetting on RaptorLake-P with Iris Xe Graphics */
-- 
2.41.0