[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFqt6zaQAw3sXq__THz-w=Z6MJjgGDazOiQi3-ZPhzwGzRrsOg@mail.gmail.com>
Date: Mon, 4 Jun 2018 15:06:51 +0530
From: Souptick Joarder <jrdr.linux@...il.com>
To: Lucas Stach <l.stach@...gutronix.de>
Cc: Christian Gmeiner <christian.gmeiner@...il.com>, airlied@...ux.ie,
Matthew Wilcox <willy@...radead.org>,
Daniel Vetter <daniel.vetter@...ll.ch>,
linux+etnaviv@...linux.org.uk, etnaviv@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] gpu: drm: etnaviv: Change return type to vm_fault_t
On Mon, Jun 4, 2018 at 3:01 PM, Lucas Stach <l.stach@...gutronix.de> wrote:
> Am Dienstag, den 29.05.2018, 19:17 +0530 schrieb Souptick Joarder:
>> Use new return type vm_fault_t for fault handler. For
>> now, this is just documenting that the function returns
>> a VM_FAULT value rather than an errno. Once all instances
>> are converted, vm_fault_t will become a distinct type.
>>
>> Ref- commit 1c8f422059ae ("mm: change return type to vm_fault_t")
>>
>> Previously vm_insert_page() returns err which driver
>> mapped into VM_FAULT_* type. The new function
>> vmf_insert_page() will replace this inefficiency by
>> returning VM_FAULT_* type.
>>
>> vmf_error() is the newly introduce inline function
>> in 4.17-rc6.
>>
>> Signed-off-by: Souptick Joarder <jrdr.linux@...il.com>
>> Reviewed-by: Matthew Wilcox <mawilcox@...rosoft.com>
>
> Thanks, applied.
>
> This won't be part of 4.18, as it's obviously too late for this
> release, but will work it's way upstream with the next batch of etnaviv
> updates.
>
> Regards,
> Lucas
>
Thanks Lucas :)
Powered by blists - more mailing lists