diff options
author | Sean Paul <seanpaul@chromium.org> | 2015-01-30 13:57:01 -0500 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-04-02 18:49:23 +0200 |
commit | bdf765071a8b573f7b1ba14c02881fa3e623825e (patch) | |
tree | 1c16aed8665ae3d0c0834e6412e9a4381e4f3aa7 /lib/mpi/mpiutil.c | |
parent | 5c1c071a3667600d1b8426dba031b2d4a20a3efa (diff) |
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: Sean Paul <seanpaul@chromium.org>
Acked-by: Erik Faye-Lund <kusmabite@gmail.com>
[treding@nvidia.com: tweak commit message]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions