summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-15 11:21:11 -0700
committerEric Anholt <eric@anholt.net>2008-05-15 18:45:23 -0700
commit7dced2f33a952ad12aafb7a3e34747156020a3ae (patch)
tree8d42bf73b92ddf18099eaf636c786f8bd6ca3574 /shared-core
parent3ab152da66f6c7bcc68a13efcf4a62800354f13b (diff)
[gem] Hold dev->struct_mutex to protect structure data.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_drv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 51c6bb59..296e1823 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -388,9 +388,9 @@ int i915_gem_unpin_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
int i915_gem_init_object(struct drm_gem_object *obj);
void i915_gem_free_object(struct drm_gem_object *obj);
-int i915_gem_set_domain_ioctl (struct drm_gem_object *obj,
- uint32_t read_domains,
- uint32_t write_domain);
+int i915_gem_set_domain(struct drm_gem_object *obj,
+ uint32_t read_domains,
+ uint32_t write_domain);
int i915_gem_flush_pwrite(struct drm_gem_object *obj,
uint64_t offset, uint64_t size);
void i915_gem_lastclose(struct drm_device *dev);