summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/gem.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-11-03 13:23:02 +0100
committerThierry Reding <treding@nvidia.com>2014-11-13 16:18:32 +0100
commit71c38629d6bd4be74009fc73946255254477c77e (patch)
tree3e214123164a5b1f205b3d9021f82d9d684fc315 /drivers/gpu/drm/tegra/gem.h
parent3feaf3e5ae89347a2ab3b9e994f1f3d85c09185f (diff)
downloadlinux-71c38629d6bd4be74009fc73946255254477c77e.tar.gz
linux-71c38629d6bd4be74009fc73946255254477c77e.tar.bz2
linux-71c38629d6bd4be74009fc73946255254477c77e.zip
drm/tegra: gem: Use more consistent data types
Use size_t consistently for sizes and u32/u64 instead of uint32_t and uint64_t. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/gem.h')
-rw-r--r--drivers/gpu/drm/tegra/gem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/tegra/gem.h b/drivers/gpu/drm/tegra/gem.h
index 3dd4165f812a..6c5f12ac0087 100644
--- a/drivers/gpu/drm/tegra/gem.h
+++ b/drivers/gpu/drm/tegra/gem.h
@@ -52,18 +52,18 @@ static inline struct tegra_bo *to_tegra_bo(struct drm_gem_object *gem)
return container_of(gem, struct tegra_bo, gem);
}
-struct tegra_bo *tegra_bo_create(struct drm_device *drm, unsigned int size,
+struct tegra_bo *tegra_bo_create(struct drm_device *drm, size_t size,
unsigned long flags);
struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file,
struct drm_device *drm,
- unsigned int size,
+ size_t size,
unsigned long flags,
- unsigned int *handle);
+ u32 *handle);
void tegra_bo_free_object(struct drm_gem_object *gem);
int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm,
struct drm_mode_create_dumb *args);
int tegra_bo_dumb_map_offset(struct drm_file *file, struct drm_device *drm,
- uint32_t handle, uint64_t *offset);
+ u32 handle, u64 *offset);
int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma);