Skip to content

Draft: panfrost: support AFBC textures for 2 plane NV12 format

Eric Smith requested to merge ericsmith/mesa:ericsmith/NV12_afbc into main
panfrost: support AFBC textures for 2 plane NV12 format

Implement AFBC packing for NV12. The trickiest part of this
was handling the stride in the second plane; fortunately this
gets passed in as an explicit_layout to the layout functions.
Otherwise there are fairly straightforward changes to allow
NV12 to be recognized as a format and to use the appropriate
AFBC packing modes for the different planes.

Signed-off-by: Eric R. Smith <eric.smith@collabora.com>

Merge request reports

Loading