[RESEND-CI v4 09/15] drm: add helper functions for YCBCR output handling