panfrost: Release the ctx->pipe_framebuffer ref
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 6 Nov 2019 14:52:45 +0000 (15:52 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 7 Nov 2019 07:33:08 +0000 (08:33 +0100)
commitb60ed3c7b2491c9bb6f2c1d356c378dd79d53e3c
tree99373b21a6d28936ff5f97b4850d3eb63d5bc361
parent8c8e4fd5c60d4b09d7e4153c83560f0668c3a80d
panfrost: Release the ctx->pipe_framebuffer ref

ctx->pipe_framebuffer contains the last bound FB state, let's release
resources pointed by this FB state when the context is destroyed.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_context.c