[RFC PATCH] drm/mipi-dsi: add some generic functions for DCS