[igt-dev] [PATCH i-g-t v2 1/2] lib: Add silent __igt_i915_driver_unload

Dixit, Ashutosh ashutosh.dixit at intel.com
Tue Feb 15 22:29:01 UTC 2022


On Tue, 15 Feb 2022 06:10:52 -0800, Anshuman Gupta wrote:
>
> Add silent __igt_i915_driver_unload(), which will not
> print any warning in case of passed argument is NULL.
> This will be used by some igt test, which marks i915
> module busy and expect i915 module unload to fail.
> These tests requires a silent lib function to unload
> the i915 module correctly.

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

> v2:
> - Change commit log. [Ashutosh]
> - Change whom to who. [Ashutosh]
> - When aux audule unload fails mark who with module name. [Ashutosh]
> - Keep same type of return type in
>   __igt_i915_driver_unload(). [Ashutosh]
>
> Cc: Chris Wilson <chris.p.wilson at intel.com>
> Signed-off-by: Anshuman Gupta <anshuman.gupta at intel.com>


More information about the igt-dev mailing list