VAAPI: Worse performance with EFC on radeonsi
EFC as enabled in 64eab1f3 reduces encoding performance on 7900XTX.
ffmpeg -vaapi_device /dev/dri/renderD128 -f lavfi -i testsrc -vf hwupload,scale_vaapi=format=nv12 -c:v h264_vaapi -b:v 1M -maxrate 1M -async_depth 4 -y /tmp/out.mp4
With EFC (default) I get around 1400fps, without EFC (AMD_DEBUG=noefc
) I get 2400fps.
!24170 (merged) slightly improves it to 1500fps with EFC.
cc @thongthai