diff options
author | Ari Hirvonen <ahirvonen@nvidia.com> | 2015-06-15 15:26:37 +0900 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2016-01-15 14:32:54 +0900 |
commit | ce8a0340c70fa3f181e0b0725322b29f36166fa3 (patch) | |
tree | aef66a1ccd08d131b87fc10c6d4471a144faeac2 /drm/nouveau/nouveau_gem.h | |
parent | eb87d86fd2c1395485d5cea93fe6159146fd1d9b (diff) | |
download | nouveau-ce8a0340c70fa3f181e0b0725322b29f36166fa3.tar.gz |
drm/nouveau: add GEM_SET_TILING staging ioctl
Add new NOUVEAU_GEM_SET_TILING ioctl to set correct tiling
mode for imported dma-bufs. This ioctl is staging for now
and enabled with the "staging_tiling" module option.
Signed-off-by: Ari Hirvonen <ahirvonen@nvidia.com>
[acourbot@nvidia.com: carry upstream, many fixes]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'drm/nouveau/nouveau_gem.h')
-rw-r--r-- | drm/nouveau/nouveau_gem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drm/nouveau/nouveau_gem.h b/drm/nouveau/nouveau_gem.h index e4049faca..56e741d98 100644 --- a/drm/nouveau/nouveau_gem.h +++ b/drm/nouveau/nouveau_gem.h @@ -23,6 +23,8 @@ extern void nouveau_gem_object_del(struct drm_gem_object *); extern int nouveau_gem_object_open(struct drm_gem_object *, struct drm_file *); extern void nouveau_gem_object_close(struct drm_gem_object *, struct drm_file *); +extern int nouveau_gem_ioctl_set_tiling(struct drm_device *, void *, + struct drm_file *); extern int nouveau_gem_ioctl_new(struct drm_device *, void *, struct drm_file *); extern int nouveau_gem_ioctl_pushbuf(struct drm_device *, void *, |