summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_fb.c
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2011-11-12 14:51:23 +0900
committerInki Dae <inki.dae@samsung.com>2011-11-15 14:58:46 +0900
commitf088d5a9c5dd22b6559fa3f3939973bc374c977b (patch)
tree5824150df0e92bb21a7e171e3bdcc26f7303d2a2 /drivers/gpu/drm/exynos/exynos_drm_fb.c
parentb0e0f85631f9d905095d2896a952430f5eb0aba1 (diff)
downloadblackbird-op-linux-f088d5a9c5dd22b6559fa3f3939973bc374c977b.tar.gz
blackbird-op-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_fb.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.c b/drivers/gpu/drm/exynos/exynos_drm_fb.c
index 7d91a542c756..8d0f66224045 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fb.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fb.c
@@ -165,9 +165,9 @@ exynos_drm_fb_init(struct drm_file *file_priv, struct drm_device *dev,
goto out;
} else {
- exynos_gem_obj = exynos_drm_gem_create(file_priv, dev,
- size,
- &mode_cmd->handle);
+ exynos_gem_obj = exynos_drm_gem_create(dev, file_priv,
+ &mode_cmd->handle,
+ size);
if (IS_ERR(exynos_gem_obj)) {
ret = PTR_ERR(exynos_gem_obj);
goto err_buffer;
OpenPOWER on IntegriCloud