From e6cf918eb8ba3e6892f7d22a6bbcbbae3e6b5bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Mon, 18 Jan 2021 23:28:28 +0200 Subject: 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. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') 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', -- cgit v1.2.3