summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/i965/xlib
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-06-23 02:28:47 +0200
committerJakob Bornecrantz <jakob@vmware.com>2010-06-23 03:20:45 +0200
commit2b15e37348ca234c5a3352db55babb7bd293b708 (patch)
tree0f057262c74b92f9a4965f7885575127a6453233 /src/gallium/winsys/i965/xlib
parentbd739e95763d8051679649cc44d16d4fcbb0fec1 (diff)
i965g: Moved pci_id to winsys struct
Diffstat (limited to 'src/gallium/winsys/i965/xlib')
-rw-r--r--src/gallium/winsys/i965/xlib/xlib_i965.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/i965/xlib/xlib_i965.c b/src/gallium/winsys/i965/xlib/xlib_i965.c
index 063e9f600b..baadd6e89c 100644
--- a/src/gallium/winsys/i965/xlib/xlib_i965.c
+++ b/src/gallium/winsys/i965/xlib/xlib_i965.c
@@ -395,6 +395,7 @@ xlib_create_brw_winsys_screen( void )
return NULL;
ws->used = 0;
+ ws->base.pci_id = PCI_CHIP_GM45_GM;
ws->base.destroy = xlib_brw_winsys_destroy;
ws->base.bo_alloc = xlib_brw_bo_alloc;
@@ -452,7 +453,7 @@ xlib_create_i965_screen( void )
if (winsys == NULL)
return NULL;
- screen = brw_create_screen(winsys, PCI_CHIP_GM45_GM);
+ screen = brw_create_screen(winsys);
if (screen == NULL)
goto fail;