panfrost: Fix write to free'd memory
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 9 Jul 2020 23:13:59 +0000 (19:13 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 14:42:33 +0000 (14:42 +0000)
commit37d89e0f93601e520edcdc41dc68197dff736c1e
treec62233b5296633cbad43a4b467d7cd93662a63c4
parent20dd37024b045881d98a55b1927b0dab29d1edd3
panfrost: Fix write to free'd memory

No clue how this worked before.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Fixes: 82f18b713ac ("panfrost: Keep track of active BOs")
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5859>
src/panfrost/encoder/pan_bo.c