summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/i915/sw
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-05-29 13:29:44 +0200
committerJakob Bornecrantz <[email protected]>2010-05-29 13:30:25 +0200
commit835f5a65a11ae9ca9f4b36ceb6656c77041ec901 (patch)
tree4b81ca16c858b9e61a70f9a05e2b067ce3d72f60 /src/gallium/winsys/i915/sw
parentbbaaf823fa98c5c978aa10d61000485c10275f5a (diff)
i915g: Move pci id to winsys struct
Diffstat (limited to 'src/gallium/winsys/i915/sw')
-rw-r--r--src/gallium/winsys/i915/sw/i915_sw_winsys.c4
-rw-r--r--src/gallium/winsys/i915/sw/i915_sw_winsys.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/winsys/i915/sw/i915_sw_winsys.c b/src/gallium/winsys/i915/sw/i915_sw_winsys.c
index a03875be5b3..bb1c107c056 100644
--- a/src/gallium/winsys/i915/sw/i915_sw_winsys.c
+++ b/src/gallium/winsys/i915/sw/i915_sw_winsys.c
@@ -46,11 +46,11 @@ i915_sw_create_screen()
isws->base.destroy = i915_sw_destroy;
- isws->id = deviceID;
+ isws->base.pci_id = deviceID;
isws->max_batch_size = 16 * 4096;
isws->dump_cmd = debug_get_bool_option("INTEL_DUMP_CMD", FALSE);
/* XXX so this will leak winsys:es */
- return i915_create_screen(&isws->base, deviceID);
+ return i915_screen_create(&isws->base);
}
diff --git a/src/gallium/winsys/i915/sw/i915_sw_winsys.h b/src/gallium/winsys/i915/sw/i915_sw_winsys.h
index 92e7c36fd8c..b8aa9ef4ac5 100644
--- a/src/gallium/winsys/i915/sw/i915_sw_winsys.h
+++ b/src/gallium/winsys/i915/sw/i915_sw_winsys.h
@@ -16,8 +16,6 @@ struct i915_sw_winsys
boolean dump_cmd;
- unsigned id;
-
size_t max_batch_size;
};