panfrost: Disable AFBC on Valhall

Doesn't work yet. Kick the can down the road; I'd like to get textures
and FBOs working at all before worrying about compressing them.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15586>
This commit is contained in:
Alyssa Rosenzweig
2022-01-09 16:17:49 -05:00
committed by Marge Bot
parent 5b056971a3
commit ee9b63a7bb
@@ -850,6 +850,12 @@ panfrost_create_screen(int fd, struct renderonly *ro)
if (dev->debug & PAN_DBG_NO_AFBC)
dev->has_afbc = false;
/* It's early days for Valhall support... disable AFBC for now to keep
* hardware bring-up simple
*/
if (dev->arch >= 9)
dev->has_afbc = false;
/* Bail early on unsupported hardware */
if (dev->model == NULL) {
debug_printf("panfrost: Unsupported model %X", dev->gpu_id);