Re: [PATCH] drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path

2023-04-02 Thread Boris Brezillon
+David On Fri, 21 May 2021 11:42:04 +0100 Steven Price wrote: > On 21/05/2021 10:38, Boris Brezillon wrote: > > Make sure all bo->base.pages entries are either NULL or pointing to a > > valid page before calling drm_gem_shmem_put_pages(). > > > > Reported-by: Tomeu Vizoso > > Cc: > > Fixes: 1

Re: [PATCH] drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path

2021-05-21 Thread Steven Price
On 21/05/2021 10:38, Boris Brezillon wrote: > Make sure all bo->base.pages entries are either NULL or pointing to a > valid page before calling drm_gem_shmem_put_pages(). > > Reported-by: Tomeu Vizoso > Cc: > Fixes: 187d2929206e ("drm/panfrost: Add support for GPU heap allocations") > Signed-off

[PATCH] drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path

2021-05-21 Thread Boris Brezillon
Make sure all bo->base.pages entries are either NULL or pointing to a valid page before calling drm_gem_shmem_put_pages(). Reported-by: Tomeu Vizoso Cc: Fixes: 187d2929206e ("drm/panfrost: Add support for GPU heap allocations") Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panfrost/panfro