Skip to content

va: retry if surface creation fails

Old versions of mesa (23.0.3, for example) doesn't support VASurfaceAttribDRMFormatModifiers. To solve it, by just ignoring the modifiers assuming that linear is accepted and produced, the creation of frames will be tried again without that attribute.

Cc: @He_Junyan, @ndufresne @slomo

Merge request reports