[Mesa-dev] [PATCH 0/2] st/dri format handling cleanups
Lucas Stach
l.stach at pengutronix.de
Thu May 17 10:50:24 UTC 2018
Hi all,
those 2 patches clean up and align the format handling in the dri state
tracker to how the intel driver implements some details of the interface.
This is mostly in preparation for etnaviv to support native planar YUV
import without needing any of the R8/RG88 sampler rewrites, as those are
really costly due to some of the Vivante hardware constraints. This isn't
quite ready yet, but I wanted to get those patches out, as those have
some value on their own. Just looking at the diffstat should be motivation
enough to pull them in.
As this has the potential to break the NV12 import for drivers using the
sampler rewrite (though I think I've covered all cases) I would appreciate
some testing from the Freedreno folks, or whoever cares about this.
Regards,
Lucas
Lucas Stach (2):
st/dri: allow both render and sampler compatible dma-buf formats
st/dri: replace format conversion functions with single mapping table
src/gallium/state_trackers/dri/dri2.c | 493 ++++++--------------
src/gallium/state_trackers/dri/dri_screen.h | 1 +
2 files changed, 150 insertions(+), 344 deletions(-)
--
2.17.0
More information about the mesa-dev
mailing list