[igt-dev] [PATCH i-g-t v21 30/35] tests/gem|kms: Remove intel_bb from fixture
Chris Wilson
chris at chris-wilson.co.uk
Fri Mar 5 14:56:05 UTC 2021
Quoting Zbigniew Kempczyński (2021-03-01 16:13:58)
> As intel_bb "opens" connection to allocator when test completes it can
> leave allocator in unknown state (mostly in failed tests). As igt_core
> was armed in resetting allocator infrastructure connection to it inside
> intel_bb is not valid anymore. Trying to use it leads to catastrofic
> errors.
>
> Migrate intel_bb out of fixture and create it inside tests individually.
That seems like good advice to put into the function doc for
intel_bb_create().
-Chris
More information about the igt-dev
mailing list