diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-19 10:34:34 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-19 10:34:34 +0200 |
commit | 5951ffb6a042037b74f7123d599b6a4f907ecff0 (patch) | |
tree | ccc2f7dd350cc9633517b9b609afd7758d995140 /tests/prime_self_import.c | |
parent | 4ba1f2e104310263a112846b19acfa04c8f95fe4 (diff) |
lib/drmtest: rip out drm_open_any_master
It's unused. Also most of our tests failed to ask for the right type
of drm fd anyway. So it's imo better to just let them fall over when
they don't get master but want it, like they already do today.
This also allows us to garbage-collect the master parameter to
drm_get_card and associated code.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/prime_self_import.c')
-rw-r--r-- | tests/prime_self_import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prime_self_import.c b/tests/prime_self_import.c index 6b3611d6..32b9aa71 100644 --- a/tests/prime_self_import.c +++ b/tests/prime_self_import.c @@ -216,7 +216,7 @@ static int get_object_count(void) { FILE *file; int ret, scanned; - int device = drm_get_card(0); + int device = drm_get_card(); char *path; ret = asprintf(&path, "/sys/kernel/debug/dri/%d/i915_gem_objects", device); |