[PATCH 3/3] drm/stm: dsi: provide the implementation of mode_valid()