[PATCH 05/15] drm/gma500: Calculate clock in one function instead of three identical