diff options
author | Jan Ekström <jeebjp@gmail.com> | 2021-01-18 23:28:28 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-10-25 20:37:03 +0200 |
commit | e6cf918eb8ba3e6892f7d22a6bbcbbae3e6b5bf5 (patch) | |
tree | c6391903eb29ef014e7a729ca06523fa9b8d6985 /test | |
parent | 12056fdcd4a54dd03d4a88017340d0798e845f09 (diff) | |
download | mpv-e6cf918eb8ba3e6892f7d22a6bbcbbae3e6b5bf5.tar.bz2 mpv-e6cf918eb8ba3e6892f7d22a6bbcbbae3e6b5bf5.tar.xz |
drm_common: utilize drmGetDevices when iterating over cards
Based on the idea behind emersion's change to drm_info
(https://github.com/ascent12/drm_info/commit/869e789a645b92a99e592a230fe39b0c59a2cd7d).
Lets us by default skip devices which are not capable of doing what
the DRM master output requires (not primary devices), as some devices
have card0 actually not be such.
Negative part is that the number given to drm-connector is no
longer a direct mapping against a file name.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions