summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-05-09 12:18:09 -0700
committerKeith Packard <keithp@keithp.com>2008-05-09 12:18:09 -0700
commit1e26ca44c9f3e8a1a30652aa860b405e0248aae1 (patch)
treebdebd7fce23e6608c3a174195a58590cb27c5916 /linux-core/drmP.h
parentec75369b402235d74b06b08907572050962075a6 (diff)
[gem] API cleanup. allocate->create unreference->close name->flink
Make the API names a bit more consistent.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 11688cdd..419b4be3 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -1394,18 +1394,18 @@ static inline void drm_gem_object_handle_unreference (struct drm_gem_object *obj
struct drm_gem_object *
drm_gem_object_lookup(struct drm_device *dev, struct drm_file *filp,
int handle);
-int drm_gem_alloc_ioctl(struct drm_device *dev, void *data,
+int drm_gem_create_ioctl(struct drm_device *dev, void *data,
+ struct drm_file *file_priv);
+int drm_gem_close_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
-int drm_gem_unreference_ioctl(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
int drm_gem_pread_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
int drm_gem_pwrite_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
int drm_gem_mmap_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
-int drm_gem_name_ioctl(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
+int drm_gem_flink_ioctl(struct drm_device *dev, void *data,
+ struct drm_file *file_priv);
int drm_gem_open_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
int drm_gem_set_domain_ioctl(struct drm_device *dev, void *data,