[PATCH] drm/panfrost: Add support for 2MB page entries
Steven Price
steven.price at arm.com
Fri Apr 12 10:40:52 UTC 2019
On 11/04/2019 22:53, Rob Herring wrote:
> Add support for 2MB sized pages. This will improve our map and unmap
> times and save a bit of memory by avoiding 3rd level page tables for
> contiguous allocations.
>
> As we use shmem for buffers and huge page allocations for shmem are off
> by default, there isn't an improvement out of the box and userspace must
> enable THP for shmem.
>
> It's not clear if the h/w can support 1GB page sizes which standard
> ARM long format descriptors support. In any case, it is unlikely we'll
> see any contiguous 1GB allocations on current h/w.
>
> Cc: Tomeu Vizoso <tomeu.vizoso at collabora.com>
> Cc: David Airlie <airlied at linux.ie>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Signed-off-by: Rob Herring <robh at kernel.org>
LGTM, and I see a nice speed up too!
Reviewed-by: Steven Price <steven.price at arm.com>
More information about the dri-devel
mailing list