aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding2014-11-27 08:31:34 -0600
committerThierry Reding2014-11-27 10:20:32 -0600
commitd3ad65db4215f5fb5419d78a14c12833d5ed150a (patch)
tree5eb28b801442d36ea9f198507429721a604f8982 /tegra/tegra.h
parent7b5e65268962d277c4e9e623d284150a715c541c (diff)
downloadexternal-libdrm-d3ad65db4215f5fb5419d78a14c12833d5ed150a.tar.gz
external-libdrm-d3ad65db4215f5fb5419d78a14c12833d5ed150a.tar.xz
external-libdrm-d3ad65db4215f5fb5419d78a14c12833d5ed150a.zip
tegra: Implement drm_tegra_bo_{get,set}_flags()
These two functions are simple wrappers around the corresponding IOCTLs and operate on drm_tegra_bo objects. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tegra/tegra.h')
-rw-r--r--tegra/tegra.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tegra/tegra.h b/tegra/tegra.h
index ed29505d..a8624180 100644
--- a/tegra/tegra.h
+++ b/tegra/tegra.h
@@ -44,4 +44,7 @@ int drm_tegra_bo_get_handle(struct drm_tegra_bo *bo, uint32_t *handle);
44int drm_tegra_bo_map(struct drm_tegra_bo *bo, void **ptr); 44int drm_tegra_bo_map(struct drm_tegra_bo *bo, void **ptr);
45int drm_tegra_bo_unmap(struct drm_tegra_bo *bo); 45int drm_tegra_bo_unmap(struct drm_tegra_bo *bo);
46 46
47int drm_tegra_bo_get_flags(struct drm_tegra_bo *bo, uint32_t *flags);
48int drm_tegra_bo_set_flags(struct drm_tegra_bo *bo, uint32_t flags);
49
47#endif /* __DRM_TEGRA_H__ */ 50#endif /* __DRM_TEGRA_H__ */