gallium/va: vaDeriveImage to check PIPE_VIDEO_SUPPORTS_CONTIGUOUS_PLANES_MAP
authorSil Vilerino <sivileri@microsoft.com>
Mon, 29 Aug 2022 16:42:41 +0000 (12:42 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 29 Aug 2022 20:01:01 +0000 (20:01 +0000)
commit81ae033b949953ef0c43edef3d0eb12e4741ee2e
treec91cf54cbae5f3ea3de496ec2d5f087f4bdb42fc
parent40d8df728081e050b83ff0677ce4bf947e234a03
gallium/va: vaDeriveImage to check PIPE_VIDEO_SUPPORTS_CONTIGUOUS_PLANES_MAP

vaDeriveImage should check if the underlying gallium driver can map contiguous planes
before skipping with disallowlist.

Fixes: a585d95803ca38d42b893603a85bf6442a54838a ("radeonsi/vcn: WA 10bit encoding crash in vaapi")

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18300>
src/gallium/frontends/va/image.c
src/gallium/include/pipe/p_video_enums.h