mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +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:
@@ -648,7 +648,7 @@ int main(int argc, char **argv)
|
||||
|
||||
parse_options(argc, argv);
|
||||
|
||||
card_index = drm_get_card(0);
|
||||
card_index = drm_get_card();
|
||||
igt_assert(card_index != -1);
|
||||
|
||||
srandom(time(NULL));
|
||||
|
||||
Reference in New Issue
Block a user