Re: [PATCH] drm/panfrost: Align GEM objects GPU VA to 2MB

2019-06-13 Thread Tomeu Vizoso
On Mon, 10 Jun 2019 at 18:58, Rob Herring wrote: > > In order to increase the chances of using 2MB pages, we need to align the > GPU VA mapping to 2MB. Only do this if the object size is 2MB or more. > > Cc: Robin Murphy > Cc: Steven Price > Cc: Tomeu Vizoso > Signed-off-by: Rob Herring

[PATCH] drm/panfrost: Align GEM objects GPU VA to 2MB

2019-06-10 Thread Rob Herring
In order to increase the chances of using 2MB pages, we need to align the GPU VA mapping to 2MB. Only do this if the object size is 2MB or more. Cc: Robin Murphy Cc: Steven Price Cc: Tomeu Vizoso Signed-off-by: Rob Herring --- drivers/gpu/drm/panfrost/panfrost_gem.c | 8 ++-- 1 file