diff options
author | Boris Brezillon <[email protected]> | 2021-05-21 11:38:11 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2023-04-03 08:23:42 +0200 |
commit | 764a2ab9eb56e1200083e771aab16186836edf1d (patch) | |
tree | 667aaed29948f0e860ac4fc9878bac2c81fc9507 /drivers/gpu/drm/scheduler/sched_entity.c | |
parent | 7f67aa097e875c87fba024e850cf405342300059 (diff) |
drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
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 <[email protected]>
Cc: <[email protected]>
Fixes: 187d2929206e ("drm/panfrost: Add support for GPU heap allocations")
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/scheduler/sched_entity.c')
0 files changed, 0 insertions, 0 deletions