Revert "panfrost: Drop implicit blend pooling"
authorIcecream95 <ixn@keemail.me>
Sat, 19 Sep 2020 08:33:14 +0000 (20:33 +1200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 21 Sep 2020 11:13:36 +0000 (11:13 +0000)
commit2aa5838730f66c39d9fa5fc6b8761e9326a1a9d0
treefb46618e7cba1194d9704031f23f8d5243327b7d
parent8ae4cec95faacc07a9747a550d20ccebb79920a8
Revert "panfrost: Drop implicit blend pooling"

This reverts commit dc7fbe114bac338e7075efdb325053ef41dad91c.

Fixes INSTR_INVALID_PC faults with the SuperTuxKart advanced rendering
pipeline, which occurred when blend shader BOs were allocated far apart.

Fixes: dc7fbe114ba ("panfrost: Drop implicit blend pooling")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6785>
src/gallium/drivers/panfrost/pan_blend.h
src/gallium/drivers/panfrost/pan_blend_cso.c
src/gallium/drivers/panfrost/pan_cmdstream.c