[PATCH v3] drm/tegra: Use 64-bit offset for tegra_gem_mmap

Dave Airlie airlied at gmail.com
Sun Jun 28 21:16:17 PDT 2015


On 6 February 2015 at 22:18, Thierry Reding <thierry.reding at gmail.com> wrote:
> 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.
>>
>> Signed-off-by: Sean Paul <seanpaul at chromium.org>
>> ---
>>  include/uapi/drm/tegra_drm.h | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> I've applied this with a slightly tweaked commit message.

Doesn't that break 32-bit ABI?

Dave.


More information about the dri-devel mailing list