aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCooper Yuan2012-07-06 09:26:49 -0500
committerCooper Yuan2012-07-06 09:36:31 -0500
commit881e69f185d2450ca35964caf254b04e7e8838c1 (patch)
tree43cd2d6c88b1bac101bc06f1ca5a8391708b8ae7 /exynos/exynos_drm.h
parent8fad46b614a156e3a0e65cd0af4c132a5820d29e (diff)
downloadexternal-libgbm-881e69f185d2450ca35964caf254b04e7e8838c1.tar.gz
external-libgbm-881e69f185d2450ca35964caf254b04e7e8838c1.tar.xz
external-libgbm-881e69f185d2450ca35964caf254b04e7e8838c1.zip
libdrm/exynos: padding gem_mmap structure to 64-bit aligned
Diffstat (limited to 'exynos/exynos_drm.h')
-rw-r--r--exynos/exynos_drm.h4
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 {
64 * A structure for mapping buffer. 64 * A structure for mapping buffer.
65 * 65 *
66 * @handle: a handle to gem object created. 66 * @handle: a handle to gem object created.
67 * @pad: just padding to be 64-bit aligned.
67 * @size: memory size to be mapped. 68 * @size: memory size to be mapped.
68 * @mapped: having user virtual address mmaped. 69 * @mapped: having user virtual address mmaped.
69 * - this variable would be filled by exynos gem module 70 * - this variable would be filled by exynos gem module
@@ -72,7 +73,8 @@ struct drm_exynos_gem_map_off {
72 */ 73 */
73struct drm_exynos_gem_mmap { 74struct drm_exynos_gem_mmap {
74 unsigned int handle; 75 unsigned int handle;
75 unsigned int size; 76 unsigned int pad;
77 uint64_t size;
76 uint64_t mapped; 78 uint64_t mapped;
77}; 79};
78 80