An attempt to vaCreateSurfaces with a VA_FOURCC_IYUV pixel format surface attribute returns VA_STATUS_ERROR_UNSUPPORTED_RT_FORMAT. For example: VASurfaceAttrib attribs; attribs.flags = VA_SURFACE_ATTRIB_SETTABLE; attribs.type = VASurfaceAttribPixelFormat; attribs.value.type = VAGenericValueTypeInteger; attribs.value.value.i = VA_FOURCC_IYUV; VASurfaceID surfaces; VAStatus status = vaCreateSurfaces(dpy, VA_RT_FORMAT_YUV420, 10, 10, &surfaces, 1, &attribs, 1); The I_S flag is set in i965_drv_video.c for IYUV which indicates that it should be supported by vaCreateSurfaces.
Fixed in commit 7ef513505
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.