From nobody@FreeBSD.org  Mon Mar 17 21:54:37 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 05D691065672
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Mar 2008 21:54:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E2C458FC28
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Mar 2008 21:54:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2HLp9jE024564
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 17 Mar 2008 21:51:09 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m2HLp9Y8024553;
	Mon, 17 Mar 2008 21:51:09 GMT
	(envelope-from nobody)
Message-Id: <200803172151.m2HLp9Y8024553@www.freebsd.org>
Date: Mon, 17 Mar 2008 21:51:09 GMT
From: Volker Werth <volker@vwsoft.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] teach drm about i915 GME pciid 0x2a12
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121808
>Category:       kern
>Synopsis:       [patch] [drm] teach drm about i915 GME pciid 0x2a12
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 17 22:00:02 UTC 2008
>Closed-Date:    Mon Mar 24 10:44:06 UTC 2008
>Last-Modified:  Mon Mar 24 10:50:03 UTC 2008
>Originator:     Volker Werth
>Release:        7.0-R
>Organization:
>Environment:
not handy
>Description:
teach src/sys/dev/drm about Intel i965 GME device id
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- drm_pciids.h.orig	2008-03-17 15:59:18.000000000 +0100
+++ drm_pciids.h.new	2008-03-17 16:00:45.000000000 +0100
@@ -293,6 +293,7 @@
 	{0x8086, 0x2982, 0, "Intel i965G"}, \
 	{0x8086, 0x2992, 0, "Intel i965Q"}, \
 	{0x8086, 0x29A2, 0, "Intel i965G"}, \
+	{0x8086, 0x2A12, 0, "Intel i965GME"}, \
 	{0, 0, 0, NULL}
 
 #define imagine_PCI_IDS \

--- i915_dma.c.orig	2008-03-17 16:02:30.000000000 +0100
+++ i915_dma.c.new	2008-03-17 16:02:48.000000000 +0100
@@ -37,7 +37,8 @@
 #define IS_I965G(dev)  (dev->pci_device == 0x2972 || \
 			dev->pci_device == 0x2982 || \
 			dev->pci_device == 0x2992 || \
-			dev->pci_device == 0x29A2)
+			dev->pci_device == 0x29A2 || \
+			dev->pci_device == 0x2A12)
 
 
 /* Really want an OS-independent resettable timer.  Would like to have


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Mar 19 07:05:43 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121808 
State-Changed-From-To: open->patched 
State-Changed-By: remko 
State-Changed-When: Fri Mar 21 16:38:51 UTC 2008 
State-Changed-Why:  
Patched in -current 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121808 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/121808: commit references a PR
Date: Fri, 21 Mar 2008 16:38:49 +0000 (UTC)

 remko       2008-03-21 16:38:43 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/drm          drm_pciids.h i915_dma.c 
   Log:
   Add the i915 GME device to DRM.
   
   PR:             kern/121808
   Submitted by:   Volker Werth <volker at vwsoft dot com>
   Approved by:    imp (mentor, implicit for trivial changes)
   MFC after:      3 days
   
   Revision  Changes    Path
   1.9       +1 -0      src/sys/dev/drm/drm_pciids.h
   1.7       +2 -1      src/sys/dev/drm/i915_dma.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: remko 
State-Changed-When: Mon Mar 24 10:44:04 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121808 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/121808: commit references a PR
Date: Mon, 24 Mar 2008 10:42:16 +0000 (UTC)

 remko       2008-03-24 10:42:11 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     sys/dev/drm          drm_pciids.h i915_dma.c 
   Log:
   MFC rev 1.9 drm_pciids.h
   MFC rev 1.7 i915_dma.c
   
     Add the i915 GME device to DRM.
   
     PR:             kern/121808
     Submitted by:   Volker Werth <volker at vwsoft dot com>
     Approved by:    imp (mentor, implicit for trivial changes)
     MFC after:      3 days
   
   Approved by:    imp (mentor, implicit)
   
   Revision  Changes    Path
   1.7.2.2   +1 -0      src/sys/dev/drm/drm_pciids.h
   1.6.2.1   +2 -1      src/sys/dev/drm/i915_dma.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/121808: commit references a PR
Date: Mon, 24 Mar 2008 10:43:53 +0000 (UTC)

 remko       2008-03-24 10:43:41 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/dev/drm          drm_pciids.h i915_dma.c 
   Log:
   MFC rev 1.9 drm_pciids.h
   MFC rev 1.7 i915_dma.c
   
     Add the i915 GME device to DRM.
   
     PR:             kern/121808
     Submitted by:   Volker Werth <volker at vwsoft dot com>
     Approved by:    imp (mentor, implicit for trivial changes)
     MFC after:      3 days
   
   Approved by:    imp (mentor, implicit)
   
   Revision  Changes    Path
   1.2.2.6   +1 -0      src/sys/dev/drm/drm_pciids.h
   1.1.2.5   +2 -1      src/sys/dev/drm/i915_dma.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
