tegra: Sync with Linux kernel UAPI header
Subsystems (2)
PATCH 1/1 tegra: Sync with Linux kernel UAPI header
From: Thierry Reding <[email protected]>
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).
--- include/drm/tegra_drm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/drm/tegra_drm.h +2 -1
@@ -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 {
Signature · 6 lines
2.7.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 10 lines · Thierry Reding
From: Thierry Reding <[email protected]>
Update the UAPI header to the latest version in the Linux kernel. This changes the struct
drm_tegra_gem_mmapto 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 <[email protected]>
/me remembers that discussion again ...
Quoted 25 lines
--- include/drm/tegra_drm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)include/drm/tegra_drm.h +2
-1@@ -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 {Signature · 6 lines
2.7.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Daniel Vetter
Quoted 6 lines · Thierry Reding
From: Thierry Reding <[email protected]>
Update the UAPI header to the latest version in the Linux kernel. This changes the struct
drm_tegra_gem_mmapto properly handle offsets on 64- bit architectures.
Quoted 8 lines
Quoted 4 lines
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 <[email protected]>/me remembers that discussion again ...
Reviewed-by Daniel Vetter <[email protected]>
I've taken the liberty of pushing the patch, before we forget about it (again) :-)
-Emil
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel