frontends/va: add pipe to DRM format mapping for NV12 and P010
authorSimon Ser <contact@emersion.fr>
Fri, 12 Feb 2021 15:56:22 +0000 (16:56 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Feb 2021 13:02:55 +0000 (13:02 +0000)
commit2b10bff7b3d878075f905e80e505f7db55022551
tree8c3225490a52181604108fba7f2a6265b8c63f65
parentb85c6531f6d954a2335ff58c93ce04faf0ec2cfc
frontends/va: add pipe to DRM format mapping for NV12 and P010

These are used when VA_EXPORT_SURFACE_COMPOSED_LAYERS is specified.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9015>
src/gallium/frontends/va/surface.c