[PATCH 4/8] drm: rcar-du: Refactor the code with new functions