summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2021-01-18 23:28:28 +0200
committersfan5 <sfan5@live.de>2021-10-25 20:37:03 +0200
commite6cf918eb8ba3e6892f7d22a6bbcbbae3e6b5bf5 (patch)
treec6391903eb29ef014e7a729ca06523fa9b8d6985 /wscript
parent12056fdcd4a54dd03d4a88017340d0798e845f09 (diff)
downloadmpv-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 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 289cd9771b..4012fa1f7d 100644
--- a/wscript
+++ b/wscript
@@ -487,7 +487,7 @@ video_output_features = [
'name': '--drm',
'desc': 'DRM',
'deps': 'vt.h || consio.h',
- 'func': check_pkg_config('libdrm', '>= 2.4.74'),
+ 'func': check_pkg_config('libdrm', '>= 2.4.75'),
}, {
'name': '--gbm',
'desc': 'GBM',