Skip to content

frontends/va: Don't allow multi-plane derive without driver support

David Rosca requested to merge nowrep/mesa:va-derive into main

What does this MR do and why?

frontends/va: Don't allow multi-plane derive without driver support

Mapping multi-plane surfaces won't work correctly without driver supporting PIPE_VIDEO_CAP_SUPPORTS_CONTIGUOUS_PLANES_MAP.

Simplify the workaround logic to check for multi-plane format and the pipe cap only, interlaced surfaces has been supported with this workaround since fcb55832.

VLC still requires this workaround to enable hardware acceleration. FFmpeg will handle derive failures gracefully.

@thongthai

Merge request reports