Skip to content
Commit bdf76507 authored by Sean Paul's avatar Sean Paul Committed by Thierry Reding
Browse files

drm/tegra: gem: Return 64-bit offset for mmap(2)



On 64-bit targets, tegra_gem_mmap() only returns a partial offset to
userspace. As such, subsequent calls to mmap(2) may fail. Change the
arguments to use a 64-bit offset to fix this.

Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Acked-by: default avatarErik Faye-Lund <kusmabite@gmail.com>
[treding@nvidia.com: tweak commit message]
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 5c1c071a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment