Files
meta-st-openstlinux/recipes-benchmark/glmark2/glmark2/0003-drm-automatic-driver-name-detection.patch
2019-02-08 14:57:02 +01:00

31 lines
1.3 KiB
Diff

From 351f516d7742646f7f3d3647e0b58ac1c04702e3 Mon Sep 17 00:00:00 2001
From: Christophe Priouzeau <christophe.priouzeau@st.com>
Date: Fri, 18 May 2018 17:08:52 +0200
Subject: [PATCH 3/3] drm: automatic driver name detection
Look for the drm driver using udev services.
Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
---
src/wscript_build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wscript_build b/src/wscript_build
index bc7e04e..e976f8d 100644
--- a/src/wscript_build
+++ b/src/wscript_build
@@ -25,8 +25,8 @@ flavor_sources = {
flavor_uselibs = {
'x11-gl' : ['x11', 'gl', 'matrix-gl', 'common-gl'],
'x11-glesv2' : ['x11', 'egl', 'glesv2', 'matrix-glesv2', 'common-glesv2'],
- 'drm-gl' : ['drm', 'gbm', 'udev', 'egl', 'gl', 'matrix-gl', 'common-gl'],
- 'drm-glesv2' : ['drm', 'gbm', 'udev', 'egl', 'glesv2', 'matrix-glesv2', 'common-glesv2'],
+ 'drm-gl' : ['drm', 'gbm', 'udev', 'egl', 'gl', 'matrix-gl', 'common-gl', 'udev'],
+ 'drm-glesv2' : ['drm', 'gbm', 'udev', 'egl', 'glesv2', 'matrix-glesv2', 'common-glesv2', 'udev'],
'mir-gl' : ['mirclient', 'egl', 'gl', 'matrix-gl', 'common-gl'],
'mir-glesv2' : ['mirclient', 'egl', 'glesv2', 'matrix-glesv2', 'common-glesv2'],
'wayland-gl' : ['wayland-client', 'wayland-egl', 'egl', 'gl', 'matrix-gl', 'common-gl'],
--
2.7.4