panfrost,panvk: Use dev->has_afbc instead of quirks
This uses the new property for AFBC we've added. The AFBC quirk is applied only to v4, and we only set dev->has_afbc on v5+ so this is not a regression. It now respects the hardware-specific AFBC disable. Signed-off-by:Alyssa Rosenzweig <alyssa@collabora.com> Cc: mesa-stable Part-of: <!13497> (cherry picked from commit 68a7fafe)
Showing
- .pick_status.json 1 addition, 1 deletion.pick_status.json
- src/gallium/drivers/panfrost/pan_resource.c 2 additions, 2 deletionssrc/gallium/drivers/panfrost/pan_resource.c
- src/gallium/drivers/panfrost/pan_screen.c 4 additions, 8 deletionssrc/gallium/drivers/panfrost/pan_screen.c
- src/panfrost/vulkan/panvk_image.c 1 addition, 1 deletionsrc/panfrost/vulkan/panvk_image.c
Loading
Please register or sign in to comment