tech-pkg archive

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

Patching x11/xf86-video-intel for Atom N455 support



                        Hi pkgsrc developers,

I have just applied the following patch to my local pkgsrc tree:
http://mail-index.netbsd.org/source-changes/2012/06/08/msg034860.html

With this I am able to use the x11/xf86-video-intel driver on my
Atom-based tablet. I am attaching the patch here; can I commit it directly?

Cheers,
-- 
khorben
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xf86-video-intel/Makefile,v
retrieving revision 1.26
diff -p -u -r1.26 Makefile
--- Makefile    15 Nov 2011 20:44:58 -0000      1.26
+++ Makefile    15 Sep 2012 02:21:41 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.26 2011/11/15 20:44:58 jakllsch Exp $
 
 DISTNAME=      xf86-video-intel-2.7.1
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_XORG:=driver/}
 EXTRACT_SUFX=  .tar.bz2
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xf86-video-intel/distinfo,v
retrieving revision 1.20
diff -p -u -r1.20 distinfo
--- distinfo    15 Nov 2011 20:44:58 -0000      1.20
+++ distinfo    15 Sep 2012 02:21:41 -0000
@@ -6,4 +6,5 @@ Size (xf86-video-intel-2.7.1.tar.bz2) = 
 SHA1 (patch-aa) = 7804346b3442c1435bd9292e9c2d411854dbd4e2
 SHA1 (patch-ad) = 9b001f43451daa8a68acb5059f993bcc1f3588f8
 SHA1 (patch-ag) = 68f282d59e03c74727de4577eb48297d9022e542
+SHA1 (patch-src_i830.h) = a30115757c1ae37a02771428f3c1e00599962585
 SHA1 (patch-src_i830__quirks.c) = 43dc7261630c3499687f229e7549286269787fef
$NetBSD$

--- src/i830.h.orig     2009-05-13 00:12:11.000000000 +0000
+++ src/i830.h
@@ -972,6 +972,8 @@ static inline int i830_fb_compression_su
        return FALSE;
     if (IS_I810(pI830) || IS_I815(pI830) || IS_I830(pI830))
        return FALSE;
+    if (IS_IGD(pI830))
+       return FALSE;
     /* fbc depends on tiled surface. And we don't support tiled
      * front buffer with XAA now.
      */


Home | Main Index | Thread Index | Old Index