Re: [PATCH] drm/panfrost: Calculate lock region size correctly

2021-09-03 Thread Steven Price
On 03/09/2021 09:51, Boris Brezillon wrote: > On Thu, 2 Sep 2021 15:00:38 +0100 > Steven Price wrote: > >> It turns out that when locking a region, the region must be a naturally >> aligned power of 2. The upshot of this is that if the desired region >> crosses a 'large boundary' the region size

Re: [PATCH] drm/panfrost: Calculate lock region size correctly

2021-09-03 Thread Boris Brezillon
On Thu, 2 Sep 2021 15:00:38 +0100 Steven Price wrote: > It turns out that when locking a region, the region must be a naturally > aligned power of 2. The upshot of this is that if the desired region > crosses a 'large boundary' the region size must be increased > significantly to ensure that the

[PATCH] drm/panfrost: Calculate lock region size correctly

2021-09-02 Thread Steven Price
It turns out that when locking a region, the region must be a naturally aligned power of 2. The upshot of this is that if the desired region crosses a 'large boundary' the region size must be increased significantly to ensure that the locked region completely covers the desired region. Previous cal