[PATCH 05/11] drm/radeon: add sync helper function