pan/midgard: Enable LOD lowering only on buggy chips
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 21 Nov 2019 13:45:27 +0000 (08:45 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Fri, 22 Nov 2019 05:07:19 +0000 (05:07 +0000)
commitbda2bb31b13d540ff0730fbc3e9ef5f21fdb9181
treee52279f3d978a4eee796870cbfca2dd51aa8ae52
parent68c2c7962a98673a2c589cc88ad19791a8d47cfd
pan/midgard: Enable LOD lowering only on buggy chips

T720 and earlier need this workaround, so check the quirk before
lowering.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/panfrost/midgard/midgard_compile.c