diff options
author | Cooper Yuan <cooperyuan@gmail.com> | 2012-07-06 16:26:49 +0200 |
---|---|---|
committer | Cooper Yuan <cooperyuan@gmail.com> | 2012-07-06 16:36:31 +0200 |
commit | 881e69f185d2450ca35964caf254b04e7e8838c1 (patch) | |
tree | 43cd2d6c88b1bac101bc06f1ca5a8391708b8ae7 | |
parent | 8fad46b614a156e3a0e65cd0af4c132a5820d29e (diff) |
libdrm/exynos: padding gem_mmap structure to 64-bit aligned
-rw-r--r-- | exynos/exynos_drm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/exynos/exynos_drm.h b/exynos/exynos_drm.h index dc2eef36..aa97b223 100644 --- a/exynos/exynos_drm.h +++ b/exynos/exynos_drm.h @@ -64,6 +64,7 @@ struct drm_exynos_gem_map_off { * A structure for mapping buffer. * * @handle: a handle to gem object created. + * @pad: just padding to be 64-bit aligned. * @size: memory size to be mapped. * @mapped: having user virtual address mmaped. * - this variable would be filled by exynos gem module @@ -72,7 +73,8 @@ struct drm_exynos_gem_map_off { */ struct drm_exynos_gem_mmap { unsigned int handle; - unsigned int size; + unsigned int pad; + uint64_t size; uint64_t mapped; }; |