From d3ad65db4215f5fb5419d78a14c12833d5ed150a Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Thu, 27 Nov 2014 15:31:34 +0100 Subject: 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 --- tegra/tegra.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tegra/tegra.h') 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); int drm_tegra_bo_map(struct drm_tegra_bo *bo, void **ptr); int drm_tegra_bo_unmap(struct drm_tegra_bo *bo); +int drm_tegra_bo_get_flags(struct drm_tegra_bo *bo, uint32_t *flags); +int drm_tegra_bo_set_flags(struct drm_tegra_bo *bo, uint32_t flags); + #endif /* __DRM_TEGRA_H__ */ -- cgit v1.2.3