Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319423
b: refs/heads/master
c: 3fd6b69
h: refs/heads/master
i:
  319421: 1771b0f
  319419: e609116
  319415: 73d14c6
  319407: 0b5dd42
  319391: 76fbc8a
  319359: 6a184d3
v: v3
  • Loading branch information
Cooper Yuan authored and Inki Dae committed Jul 27, 2012
1 parent 0239d54 commit 24af2a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0dd3b72cc66117e5c6dc638f55e4f2e5cc60ed70
refs/heads/master: 3fd6b69474efa77c386ac1c658d79dce5cfe1d19
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/exynos/exynos_drm_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ int exynos_drm_gem_dumb_create(struct drm_file *file_priv,
* with DRM_IOCTL_MODE_CREATE_DUMB command.
*/

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

exynos_gem_obj = exynos_drm_gem_create(dev, args->flags, args->size);
Expand Down

0 comments on commit 24af2a5

Please sign in to comment.