drm: extract helpers to compute new training values from sink request