panfrost: Take panfrost_dev for AFBC selection
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 17 Feb 2021 03:47:01 +0000 (22:47 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Feb 2021 21:48:22 +0000 (21:48 +0000)
commitfa251afb821f70965f16e4a983b1bd0e4a977f08
tree1669346179faa50904aac99b91c7952ae44b427b
parent6a5052d83639f375683632b3c8257a882df8f030
panfrost: Take panfrost_dev for AFBC selection

This appears to be architecture dependent.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9105>
src/gallium/drivers/panfrost/pan_resource.c
src/gallium/drivers/panfrost/pan_screen.c
src/panfrost/lib/pan_afbc.c
src/panfrost/lib/pan_texture.h