[PATCH] drm/komeda: Adds more check in mode_valid