All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Enable NV96 support
@ 2009-03-06 13:09 Victor Stinner
       [not found] ` <49B1209C.7020008-XgyrR7WU8tJ8UrSeD/g0lQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Victor Stinner @ 2009-03-06 13:09 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

[-- Attachment #1: Type: text/plain, Size: 121 bytes --]

Add NV96 in NV9X_GRCLASS8297_CHIPSETS bitmask and remove the test
blocking NV9x (another test is already present above).

[-- Attachment #2: 0003-Enable-NV96-support.patch --]
[-- Type: text/x-patch, Size: 1345 bytes --]

From d6dbc4e172be2d6aa6155b5621f5e9acfa13b12d Mon Sep 17 00:00:00 2001
From: Victor Stinner <victor.stinner-XgyrR7WU8tJ8UrSeD/g0lQ@public.gmane.org>
Date: Fri, 6 Mar 2009 14:08:00 +0100
Subject: [PATCH] Enable NV96 support

Add NV96 in NV9X_GRCLASS8297_CHIPSETS bitmask and remove the test
blocking NV9x (another test is already present above)
---
 src/gallium/drivers/nv50/nv50_screen.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index 9bf5e8c..4130ede 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -31,7 +31,7 @@
 
 #define NV5X_GRCLASS5097_CHIPSETS 0x00000001
 #define NV8X_GRCLASS8297_CHIPSETS 0x00000050
-#define NV9X_GRCLASS8297_CHIPSETS 0x00000014
+#define NV9X_GRCLASS8297_CHIPSETS 0x00000054
 
 static boolean
 nv50_screen_is_format_supported(struct pipe_screen *pscreen,
@@ -190,12 +190,6 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws)
 	}
 
 	/* 3D object */
-	if ((chipset & 0xf0) != 0x50 && (chipset & 0xf0) != 0x80) {
-		NOUVEAU_ERR("Not a G8x chipset\n");
-		nv50_screen_destroy(&screen->pipe);
-		return NULL;
-	}
-
 	switch (chipset & 0xf0) {
 	case 0x50:
 		if (NV5X_GRCLASS5097_CHIPSETS & (1 << (chipset & 0x0f)))
-- 
1.5.6.3


[-- Attachment #3: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Enable NV96 support
       [not found] ` <49B1209C.7020008-XgyrR7WU8tJ8UrSeD/g0lQ@public.gmane.org>
@ 2009-03-06 13:34   ` Victor Stinner
  2009-03-07  7:50   ` Ben Skeggs
  1 sibling, 0 replies; 3+ messages in thread
From: Victor Stinner @ 2009-03-06 13:34 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Le Friday 06 March 2009 14:09:48 Victor Stinner, vous avez écrit :
> Add NV96 in NV9X_GRCLASS8297_CHIPSETS bitmask and remove the test
> blocking NV9x (another test is already present above).

Note: my patch only disables the test on the chipset version, but glxgears 
crashed my Xorg :-)


-- 
Victor Stinner aka haypo
http://www.haypocalc.com/blog/
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Enable NV96 support
       [not found] ` <49B1209C.7020008-XgyrR7WU8tJ8UrSeD/g0lQ@public.gmane.org>
  2009-03-06 13:34   ` Victor Stinner
@ 2009-03-07  7:50   ` Ben Skeggs
  1 sibling, 0 replies; 3+ messages in thread
From: Ben Skeggs @ 2009-03-07  7:50 UTC (permalink / raw)
  To: Victor Stinner; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On Fri, 2009-03-06 at 14:09 +0100, Victor Stinner wrote:
> Add NV96 in NV9X_GRCLASS8297_CHIPSETS bitmask and remove the test
> blocking NV9x (another test is already present above).
I didn't commit this as we could simplify selection quite a bit on G80.

Thanks for the reminder it needed doing though!
Ben.
> _______________________________________________
> Nouveau mailing list
> Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-07  7:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-06 13:09 [PATCH] Enable NV96 support Victor Stinner
     [not found] ` <49B1209C.7020008-XgyrR7WU8tJ8UrSeD/g0lQ@public.gmane.org>
2009-03-06 13:34   ` Victor Stinner
2009-03-07  7:50   ` Ben Skeggs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.