From harry@omnilan.de  Thu Sep  4 22:55:38 2008
Return-Path: <harry@omnilan.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 211141065670
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Sep 2008 22:55:38 +0000 (UTC)
	(envelope-from harry@omnilan.de)
Received: from host.omnilan.net (host.omnilan.net [62.245.232.135])
	by mx1.freebsd.org (Postfix) with ESMTP id 996E38FC1A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Sep 2008 22:55:37 +0000 (UTC)
	(envelope-from harry@omnilan.de)
Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3])
	by host.omnilan.net (8.13.8/8.13.8) with ESMTP id m84MtUWq069297
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 5 Sep 2008 00:55:35 +0200 (CEST)
	(envelope-from harry@titan.flintsbach.schmalzbauer.de)
Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1])
	by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id m84MtUCj061871
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 5 Sep 2008 00:55:30 +0200 (CEST)
	(envelope-from harry@titan.flintsbach.schmalzbauer.de)
Received: (from harry@localhost)
	by titan.flintsbach.schmalzbauer.de (8.14.3/8.14.3/Submit) id m84MtU9e007141;
	Fri, 5 Sep 2008 00:55:30 +0200 (CEST)
	(envelope-from harry)
Message-Id: <200809042255.m84MtU9e007141@titan.flintsbach.schmalzbauer.de>
Date: Fri, 5 Sep 2008 00:55:30 +0200 (CEST)
From: Harald Schmalzbauer <freebsd@omnilan.de>
Reply-To: Harald Schmalzbauer <freebsd@omnilan.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Additional SIS662 DRM PCI ID
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         127098
>Category:       kern
>Synopsis:       [drm] [patch] Additional SIS662 DRM PCI ID
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    rnoland
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 04 23:00:10 UTC 2008
>Closed-Date:    Fri Oct 24 15:41:56 UTC 2008
>Last-Modified:  Fri Oct 24 15:41:56 UTC 2008
>Originator:     Harald Schmalzbauer
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
OmniLAN
>Environment:
System: FreeBSD titan.flintsbach.schmalzbauer.de 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Sep 1 13:30:00 CEST 2008 harry@titan.flintsbach.schmalzbauer.de:/usr/obj/usr/src/sys/TITAN i386


>Description:
Additional PCI ID to attach sisdrm to SIS622 integrated VGA
>How-To-Repeat:
For example on the Intel D201GLY2 (essential) board you can find the SIS
chipset. DRI is disabled when starting Xorg because there is no drm device
available.
After adding the PCI ID DRI can be used.  But it sometimes isn't beneficial.
If the CPU is idle otherwise, glxgears shows 270fps in SW rendering compared
to 170fs with DRI enabled.

On the other hand if one can accept this extremely wimpy 3d acceleration,
the CPU can have some more cycles for other tasks... I think supporting
DRI is perferred, DRI can be disabled in Xorg config.

>Fix:

--- drm_pciids.h.orig	2008-09-05 00:42:15.000000000 +0200
+++ drm_pciids.h	2008-09-04 20:58:24.000000000 +0200
@@ -213,6 +213,7 @@
 	{0x1039, 0x5300, 0, "SiS 540"}, \
 	{0x1039, 0x6300, 0, "SiS 630"}, \
 	{0x1039, 0x7300, 0, "SiS 730"}, \
+	{0x1039, 0x6330, 0, "SiS 622"}, \
 	{0, 0, 0, NULL}
 
 #define tdfx_PCI_IDS \

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->rnoland 
Responsible-Changed-By: joel 
Responsible-Changed-When: Mon Sep 15 16:23:28 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer. 

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

From: Robert Noland <rnoland@FreeBSD.org>
To: bug-followup@FreeBSD.org, freebsd@omnilan.de
Cc:  
Subject: Re: kern/127098: [drm] [patch] Additional SIS662 DRM PCI ID
Date: Wed, 22 Oct 2008 12:53:08 -0400

 --=-iSXhr9Le16l8YG5t9udQ
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 
 This is already present in -CURRENT, however it is a 315 class chip and
 DRI may still be unsupported by X or libGL.
 
 robert.
 
 --=-iSXhr9Le16l8YG5t9udQ
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (FreeBSD)
 
 iEYEABECAAYFAkj/WnQACgkQM4TrQ4qfRONdygCfeUU/DBGQ86r2XI/CUXvOzKF5
 AeMAn0Yi2BGfAcKGIymuaSKyz+vFPY7c
 =iuhk
 -----END PGP SIGNATURE-----
 
 --=-iSXhr9Le16l8YG5t9udQ--
 
State-Changed-From-To: open->closed 
State-Changed-By: rnoland 
State-Changed-When: Fri Oct 24 15:41:54 UTC 2008 
State-Changed-Why:  
I'm going to go ahead and close this.  This chip is identified by the 
drm code in -CURRENT.  The 315 class of chips is supported by drmm and 
stub support exists in xf86-video-sis, but it appears the dri module for 
the 315 series was never developed, so it isn't going to work. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127098 
>Unformatted:
