mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 22:02:57 +00:00
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user