[PATCH v2 05/18] drm_modes: add command mode helpers