summaryrefslogtreecommitdiff
path: root/exynos
diff options
context:
space:
mode:
authorCooper Yuan <cooperyuan@gmail.com>2012-07-06 16:26:49 +0200
committerCooper Yuan <cooperyuan@gmail.com>2012-07-06 16:36:31 +0200
commit881e69f185d2450ca35964caf254b04e7e8838c1 (patch)
tree43cd2d6c88b1bac101bc06f1ca5a8391708b8ae7 /exynos
parent8fad46b614a156e3a0e65cd0af4c132a5820d29e (diff)
libdrm/exynos: padding gem_mmap structure to 64-bit aligned
Diffstat (limited to 'exynos')
-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 {
* 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;
};