diff options
author | Inki Dae <inki.dae@samsung.com> | 2012-05-14 13:04:38 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2012-06-05 04:51:47 +0200 |
commit | 13b87b27421e12f82ebbaac018cea30f82e5c33e (patch) | |
tree | dce0daf929e89cc750700737e421f81ea3a5945d /include/drm/exynos_drm.h | |
parent | drm/exynos: Use DRM_FORMAT_{NV12, YUV420} instead of DRM_FORMAT_{NV12M, YUV420M} (diff) | |
download | linux-13b87b27421e12f82ebbaac018cea30f82e5c33e.tar.xz linux-13b87b27421e12f82ebbaac018cea30f82e5c33e.zip |
drm/exynos: fixed size type.
size type of drm_exynos_gem_mmap struct is changed to uint64_t and
it adds pad for the struct to be aligned as 64bit.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/drm/exynos_drm.h')
-rw-r--r-- | include/drm/exynos_drm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h index b6d7ce92eadd..68733587e700 100644 --- a/include/drm/exynos_drm.h +++ b/include/drm/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; }; |