From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH v3] drm/tegra: Use 64-bit offset for tegra_gem_mmap Date: Fri, 6 Feb 2015 13:18:28 +0100 Message-ID: <20150206121826.GA18585@ulmo.nvidia.com> References: <20150130094935.GB16744@ulmo> <1422644221-24432-1-git-send-email-seanpaul@chromium.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1206019383==" Return-path: Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by gabe.freedesktop.org (Postfix) with ESMTP id 9886D6E2CE for ; Fri, 6 Feb 2015 04:18:32 -0800 (PST) Received: by mail-pa0-f51.google.com with SMTP id hz1so12290881pad.10 for ; Fri, 06 Feb 2015 04:18:32 -0800 (PST) In-Reply-To: <1422644221-24432-1-git-send-email-seanpaul@chromium.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Sean Paul Cc: marcheu@chromium.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1206019383== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 30, 2015 at 01:57:01PM -0500, Sean Paul wrote: > On 64-bit targets, tegra_gem_mmap doesn't return the > offset to userspace. As such, subsequent calls to mmap(2) > fail. Alter the args to use 64-bit offset to fix this. >=20 > Signed-off-by: Sean Paul > --- > include/uapi/drm/tegra_drm.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) I've applied this with a slightly tweaked commit message. Thanks, Thierry --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU1LESAAoJEN0jrNd/PrOhJFoP/RlGD5XB/et6ZvLMpD6x/awv oEJ0TBU34SlMULgOkb+KOsv2hDDbbeeBbbDTkJ990AU2A7PiLhi85iQnnXCQvy43 IbO0zofIp71jValLbkx68wamG8BGj1bEOkZKLi+/BHIZ5av46Xw3Ulz9dQTJaZZa E6I19CpUon6o2FW03uYNMSYqcApmsOkq2bjkqUPYQ9kT4XXrcfhrtTEdhJRZ0Xe1 /2SZ4/yvJK3g5h5BQQ/4nTYCwtDuI23zVdqaKnqQM1L5kJTInStpqHeAmiqBFixS Y+VH201YpFL1aNIXGkrODp4s8bEM7b1/M9tRFcMqcOODZPZkqK9TIFAovI+/G3Ay tT0BpGJV33uLuS1T6SbELc8RBHeN9YmjeOcKt/98M9tY5HDvGk/9rcEJhttHeYP3 7xpCZLkfsiuRr1NZBUcfkscoXIba7WhqFqagVdGjr6sx4sdSKjAkjGsdNDVa/ZEJ U4DIQEuBZg3pPb6Cz5XL2hDUem0mB71NeZLDyDo3hFM7Epe4CVhjES3+5KFrQ1e5 fTIZ/C/YI60SMSTuZu/1sUc02Bu9C02Mv4/29oUNt0oBQkTc+Fq/YfZ3zwgQ87U1 604V2ygy4RYNWyNjKNBA/46VGtnRym+zzHo76MapL528E970PrvMKZgvKCAywMjx 1pbv5tC5zDg2kNVl2cnd =vdTt -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD-- --===============1206019383== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1206019383==--