Skip to content

Commit 7da5907

Browse files
committed
drm/exynos: fixed page align bug.
do not align in page unit at dumb creation. the align is done by exynos_drm_gem_create() to be called commonly. Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
1 parent 4fbd9a4 commit 7da5907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/exynos/exynos_drm_gem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ int exynos_drm_gem_dumb_create(struct drm_file *file_priv,
662662
*/
663663

664664
args->pitch = args->width * ((args->bpp + 7) / 8);
665-
args->size = PAGE_ALIGN(args->pitch * args->height);
665+
args->size = args->pitch * args->height;
666666

667667
exynos_gem_obj = exynos_drm_gem_create(dev, args->flags, args->size);
668668
if (IS_ERR(exynos_gem_obj))

0 commit comments

Comments
 (0)