diff options
author | Thierry Reding <treding@nvidia.com> | 2016-03-31 12:41:10 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-04-07 18:32:03 +0100 |
commit | 65ea85d85c5b4da22d9f4ea18ae368bc48fbf60a (patch) | |
tree | cb29a0ec62eafdc8edf046cb3da9d9986cc0fc84 | |
parent | ce97507cfcbdbdc520872417b5605f3b807794ff (diff) |
tegra: Sync with Linux kernel UAPI header
Update the UAPI header to the latest version in the Linux kernel. This
changes the struct drm_tegra_gem_mmap to properly handle offsets on 64-
bit architectures.
See commit bdf765071a8b ("drm/tegra: gem: Return 64-bit offset for
mmap(2)") in the Linux kernel (as of v4.1).
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r-- | include/drm/tegra_drm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/tegra_drm.h b/include/drm/tegra_drm.h index 8dae8f334992..7c0fe0ed511b 100644 --- a/include/drm/tegra_drm.h +++ b/include/drm/tegra_drm.h @@ -36,7 +36,8 @@ struct drm_tegra_gem_create { struct drm_tegra_gem_mmap { __u32 handle; - __u32 offset; + __u32 pad; + __u64 offset; }; struct drm_tegra_syncpt_read { |