[Intel-gfx] [PATCH] tests/gem_render_copy_redux needs legacy drm nodes

Daniel Vetter daniel.vetter at ffwll.ch
Wed Jul 9 22:35:34 CEST 2014


... since it uses flink. Fixes a regression due to:

commit 6d6dfcfb883818b40b58bac61cc72cab428a7a03
Author:     David Herrmann <dh.herrmann at gmail.com>
AuthorDate: Sun Mar 16 14:38:40 2014 +0100

    drm: enable render-nodes by default

Cc: David Herrmann <dh.herrmann at gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 tests/gem_render_copy_redux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gem_render_copy_redux.c b/tests/gem_render_copy_redux.c
index 73dcb7228894..f711fdbec17c 100644
--- a/tests/gem_render_copy_redux.c
+++ b/tests/gem_render_copy_redux.c
@@ -74,7 +74,7 @@ typedef struct {
 
 static void data_init(data_t *data)
 {
-	data->fd = drm_open_any_render();
+	data->fd = drm_open_any();
 	data->devid = intel_get_drm_devid(data->fd);
 
 	data->bufmgr = drm_intel_bufmgr_gem_init(data->fd, 4096);
-- 
1.9.3




More information about the Intel-gfx mailing list