Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/server/drivers/xf86-video-intel add new IN...



details:   https://anonhg.NetBSD.org/src/rev/aba9d54ba8ba
branches:  trunk
changeset: 451210:aba9d54ba8ba
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri May 10 06:25:58 2019 +0000

description:
add new INTEL_DRIVER_DATE variable that defaults to 2019, but can
be set to 2014 and the older KMS based driver will be used (which
is the last actual release.)

this fixes some display issues on older systems.  for me, sandy
bridge has minor issues with the new drivrer, but kaby lake really
likes to have the newer driver.

perhaps change default later, but this enables simple testing.

diffstat:

 external/mit/xorg/server/drivers/xf86-video-intel/Makefile |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r d427cddbf7b5 -r aba9d54ba8ba external/mit/xorg/server/drivers/xf86-video-intel/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-intel/Makefile        Fri May 10 06:19:54 2019 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-intel/Makefile        Fri May 10 06:25:58 2019 +0000
@@ -1,8 +1,16 @@
-#      $NetBSD: Makefile,v 1.31 2019/04/13 09:29:49 maya Exp $
+#      $NetBSD: Makefile,v 1.32 2019/05/10 06:25:58 mrg Exp $
 
 .include <bsd.own.mk>
 
+# Set this to 2014 for the last release, which does not support newer
+# chipsets as well, but cause major problems on older chipsets.
+INTEL_DRIVER_DATE?=    2019
+
+.if ${INTEL_DRIVER_DATE} > 2014
 DRIVER=                xf86-video-intel
+.else
+DRIVER=                xf86-video-intel-2014
+.endif
 DRIVER_NAME=   intel_drv
 
 # main module
@@ -41,7 +49,9 @@
 SRCS+=         gen8_eu.c
 SRCS+=         gen8_render.c
 SRCS+=         gen8_vertex.c
+.if ${INTEL_DRIVER_DATE} > 2014
 SRCS+=         gen9_render.c
+.endif
 
 SRCS+=         sna_accel.c
 SRCS+=         sna_acpi.c



Home | Main Index | Thread Index | Old Index