etnaviv: add debug option to disable linear PE feature
authorLucas Stach <l.stach@pengutronix.de>
Thu, 25 Aug 2022 12:16:37 +0000 (14:16 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 26 Aug 2022 07:47:09 +0000 (07:47 +0000)
commit43eb5e777e4b64fe1b143822ae8aaf709eaad42f
tree048c2a97372fc1aad441aefd37dc3ca068a183fd
parentea8fc9592c16ce137d58a27be8f30f530efcc524
etnaviv: add debug option to disable linear PE feature

Linear PE has already shown to have some rough corner cases in the hardware
and also has performance implications. Add a debug option to allow to disable
the feature, so users can more easily check if some issue is caused by this
feature.

CC: mesa-stable #22.2
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18232>
src/gallium/drivers/etnaviv/etnaviv_debug.h
src/gallium/drivers/etnaviv/etnaviv_screen.c