diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-10 12:43:49 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-12 11:08:55 +0200 |
commit | 4f03b1fc1eb286b73d453c03cdb45a3827726a44 (patch) | |
tree | dc90ed4f6a5b7028285024737f707e861505a7cf /include/drm/drmP.h | |
parent | drm: Move drm_legacy_vma_flush into drm_legacy.h (diff) | |
download | linux-4f03b1fc1eb286b73d453c03cdb45a3827726a44.tar.xz linux-4f03b1fc1eb286b73d453c03cdb45a3827726a44.zip |
drm: Create drm legacy driver header
And move a few legayc functions to start things over there.
It compiles ...
Inspired by a patch from Dave Airlie, but with a split between drm.ko
private legacy functions and stuff used by drivers.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 2b6d5241fe59..fe6db4cc0db2 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -1309,21 +1309,6 @@ extern int drm_pci_set_unique(struct drm_device *dev, struct drm_master *master, struct drm_unique *u); - /* Legacy Support */ - -int drm_legacy_addmap(struct drm_device *d, resource_size_t offset, - unsigned int size, enum drm_map_type type, - enum drm_map_flags flags, struct drm_local_map **map_p); -int drm_legacy_rmmap(struct drm_device *d, struct drm_local_map *map); -int drm_legacy_rmmap_locked(struct drm_device *d, struct drm_local_map *map); -struct drm_local_map *drm_legacy_getsarea(struct drm_device *dev); - -int drm_legacy_addbufs_agp(struct drm_device *d, struct drm_buf_desc *req); -int drm_legacy_addbufs_pci(struct drm_device *d, struct drm_buf_desc *req); - -void drm_legacy_idlelock_take(struct drm_lock_data *lock); -void drm_legacy_idlelock_release(struct drm_lock_data *lock); - /* sysfs support (drm_sysfs.c) */ struct drm_sysfs_class; extern struct class *drm_sysfs_create(struct module *owner, char *name); |