aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/drm_common.c
Commit message (Collapse)AuthorAge
* drm: include <poll.h> instead of <sys/poll.h>Gravatar wm42017-01-09
| | | | | | | I'm not sure what systems have <sys/poll.h> (maybe there are historical reasons why some would), but POSIX defines <poll.h>. Although this code is full of highly OS specific calls (like ioctl()), there's no reason not to use the more standard include path.
* vo_drm: change CLI options + refactorsGravatar rr-2016-10-07
| | | | | | | | | | - Change connector selection to accept human readable names (such as eDP-1, HDMI-A-2) rather than arbitrary numbers. - Change GPU selection to accept GPU number rather than device paths. - Merge connector and GPU selection into one --drm-connector. - Add support for --drm-connector=help. - Add support for --drm-* in EGL backend. - Refactor KMS; reduce state sharing across drm_common.
* vo_drm: fix tiny memory leakGravatar rr-2016-10-04
|
* vo_drm: refactor getting display fpsGravatar rr-2016-10-04
| | | | | | | | Reduces code duplication between OpenGL backend and DRM VO. (The control() for OpenGL backend isn't sufficiently similar to the VO's control() to consider merging it as a whole - I extracted only the FPS code.)
* build: silence -Wunused-resultGravatar Niklas Haas2016-06-07
| | | | | | | | For clang, it's enough to just put (void) around usages we are intentionally ignoring the result of. Since GCC does not seem to want to respect this decision, we are forced to disable the warning globally.
* Change GPL/LGPL dual-licensed files to LGPLGravatar wm42016-01-19
| | | | | | | | | | | Do this to make the license situation less confusing. This change should be of no consequence, since LGPL is compatible with GPL anyway, and making it LGPL-only does not restrict the use with GPL code. Additionally, the wording implies that this is allowed, and that we can just remove the GPL part.
* vo_drm: fix CRTC usageGravatar rr-2016-01-18
|
* drm: fix setting up connectorsGravatar rr-2015-11-11
| | | | Fixes regression from 67caea357c23443cf583ad401a38bbaae19e3df8.
* vo_drm: relicense to LGPLGravatar rr-2015-11-08
| | | | | Also removed authorship information (as per convention seen in other files)
* vo_drm: use bool rather than integer return valuesGravatar rr-2015-11-08
| | | | | Since the errors weren't used for anything other than simple success/fail checks, I simplified things a bit.
* vo_drm: move initialization to drm_commonGravatar rr-2015-11-08
| | | | | Makes KMS initialization procedures reusable so that they can be used by the upcoming DRM EGL adapter.
* vo_drm: uninstall signal handlers after quittingGravatar rr-2015-10-30
|
* vo_drm: handle possible errors from sigactionGravatar rr-2015-10-30
|
* vo_drm: check if signal already usedGravatar rr-2015-10-30
|
* vo_drm: fix missing newlines in error messagesGravatar rr-2015-06-28
|
* vo_drm: fix coding style to adhere to guidelinesGravatar Marcin Kurczewski2015-04-21
|
* vo_drm: extract vt_switcher to drm_commonGravatar Marcin Kurczewski2015-04-19