summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_winsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i915/i915_winsys.h')
-rw-r--r--src/gallium/drivers/i915/i915_winsys.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_winsys.h b/src/gallium/drivers/i915/i915_winsys.h
index 8a6f579ad97..3aba19fe6a3 100644
--- a/src/gallium/drivers/i915/i915_winsys.h
+++ b/src/gallium/drivers/i915/i915_winsys.h
@@ -81,6 +81,8 @@ struct i915_winsys_batchbuffer {
struct i915_winsys {
+ unsigned pci_id; /**< PCI ID for the device */
+
/**
* Batchbuffer functions.
*/
@@ -224,7 +226,7 @@ struct i915_winsys {
/**
* Create i915 pipe_screen.
*/
-struct pipe_screen *i915_create_screen(struct i915_winsys *iws, unsigned pci_id);
+struct pipe_screen *i915_screen_create(struct i915_winsys *iws);
#endif