Il 05/01/24 19:46, Dmitry Osipenko ha scritto:
From: Boris Brezillon <[email protected]>If some the pages or sgt allocation failed, we shouldn't release the pages ref we got earlier, otherwise we will end up with unbalanced get/put_pages() calls. We should instead leave everything in place and let the BO release function deal with extra cleanup when the object is destroyed, or let the fault handler try again next time it's called. Fixes: 187d2929206e ("drm/panfrost: Add support for GPU heap allocations") Cc: <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Co-developed-by: Dmitry Osipenko <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
