Skip to content

Commit

Permalink
drm/exynos: fixed size type.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
  • Loading branch information
daeinki committed Jun 5, 2012
1 parent 363b06a commit 13b87b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/drm/exynos_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
};

Expand Down

0 comments on commit 13b87b2

Please sign in to comment.