[Mesa-dev] [PATCH 3/6] st/dri: fix dri2_from_planar for multiplanar images

Eric Anholt eric at anholt.net
Fri Apr 19 18:24:25 UTC 2019


Lucas Stach <l.stach at pengutronix.de> writes:

> From: Philipp Zabel <p.zabel at pengutronix.de>
>
> Fix the gbm_dri_bo_get_handle_for_plane use case by allowing plane > 0
> in dri2_from_planar for images with multiple planes in separate chained
> texture resources.

This looks like a partial fix to me -- the dup will leave the child
image with the whole image's format and dri_components, when it should
be based on the format of the plane, right?

I think this path should probably be weaned off of dup_image.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190419/7dd3419b/attachment-0001.sig>


More information about the mesa-dev mailing list