diff options
author | Inki Dae <inki.dae@samsung.com> | 2011-11-12 14:51:23 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2011-11-15 14:58:46 +0900 |
commit | f088d5a9c5dd22b6559fa3f3939973bc374c977b (patch) | |
tree | 5824150df0e92bb21a7e171e3bdcc26f7303d2a2 /drivers/gpu/drm/exynos/exynos_drm_gem.h | |
parent | b0e0f85631f9d905095d2896a952430f5eb0aba1 (diff) | |
download | talos-obmc-linux-f088d5a9c5dd22b6559fa3f3939973bc374c977b.tar.gz talos-obmc-linux-f088d5a9c5dd22b6559fa3f3939973bc374c977b.zip |
drm/exynos: use gem create function generically
this patch addes exynos_drm_gem_init() creating and initialzing a gem.
allocation functions could use this function to create new gem and
it changes size type of exynos_drm_gem_create structure to 64bit
and also corrects comments to exynos_drm_gem_create structure.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_gem.h')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.h b/drivers/gpu/drm/exynos/exynos_drm_gem.h index e5fc0148277b..213838d9606e 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.h +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.h @@ -49,9 +49,9 @@ struct exynos_drm_gem_obj { }; /* create a new buffer and get a new gem handle. */ -struct exynos_drm_gem_obj *exynos_drm_gem_create(struct drm_file *file_priv, - struct drm_device *dev, unsigned int size, - unsigned int *handle); +struct exynos_drm_gem_obj *exynos_drm_gem_create(struct drm_device *dev, + struct drm_file *file_priv, + unsigned int *handle, unsigned long size); /* * request gem object creation and buffer allocation as the size |