summaryrefslogtreecommitdiff
path: root/drm-common.h
Commit message (Collapse)AuthorAgeFilesLines
* kmscube: add option to run for specified # of framesRob Clark2020-03-071-3/+6
|
* kmscube: add command-line selection of video modeAntonio Borneo2019-07-231-3/+3
| | | | | | | | | | | | | | The mode of type "DRM_MODE_TYPE_PREFERED" can be miss-configured, making kmscube not working. Plus, user could need to test the other available video modes at the connector. Add a command line flag to specify the video mode. If the mode is not present, print an informative message and fall-back to the default behaviour (preferred mode or highest resolution mode). Signed-off-by: Antonio Borneo <antonio.borneo@st.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* drm-common.h: forward-declare needed structsEric Engestrom2017-03-141-0/+3
| | | | | | | | | | | | | | drm-common.h:63:49: warning: ‘struct egl’ declared inside parameter list will not be visible outside of this definition or declaration int (*run)(const struct gbm *gbm, const struct egl *egl); ^~~ drm-common.h:63:26: warning: ‘struct gbm’ declared inside parameter list will not be visible outside of this definition or declaration int (*run)(const struct gbm *gbm, const struct egl *egl); ^~~ Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* Rename drm.[ch] to drm-common.[ch]Emil Velikov2017-03-131-0/+77
Depending on the moon cycle and other factors we might end up including the local or libdrm version of drm.h. Simply rename the files to make it distinct and easy to track and manage. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>