[igt-dev] [PATCH i-g-t] intel-ci/xe-fast-feedback.testlist: use xe_module_load at load

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Wed Mar 29 13:04:34 UTC 2023


On Wed, 29 Mar 2023 14:37:07 +0200
Mauro Carvalho Chehab <mauro.chehab at linux.intel.com> wrote:

> From: Mauro Carvalho Chehab <mchehab at kernel.org>
> 
> Provided that the force_load parameter is already set either as:
> 
> - boot time: xe.force_load=<value>
> - modprobe time: adding "option xe force_load=<value>" to a
>   /etc/modprobe.d/ file;
> - at boot time, via CONFIG_DRM_XE_FORCE_PROBE="<value>"
> 
> There's no need to use igt at xe_module_load@force_load. Use
> instead the cleaner test: igt at xe_module_load@load.
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
> ---
>  tests/intel-ci/xe-fast-feedback.testlist | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/intel-ci/xe-fast-feedback.testlist b/tests/intel-ci/xe-fast-feedback.testlist
> index 3140d648833a..5f3bd2e917d5 100644
> --- a/tests/intel-ci/xe-fast-feedback.testlist
> +++ b/tests/intel-ci/xe-fast-feedback.testlist
> @@ -1,5 +1,5 @@
>  # Should be the first test
> -igt at xe_module_load@force-load
> +igt at xe_module_load@load
>  
>  igt at xe_compute@compute-square
>  igt at xe_debugfs@base

Tested on an ADL-S booted with Xe module blacklisted:

$ lsmod|grep xe
$ sudo ./build/tests/xe_module_load --run load
IGT-Version: 1.27.1-gc6585fd1 (x86_64) (Linux: 6.2.0-xe-2bf8f2602+ x86_64)
Starting subtest: load
Subtest load: SUCCESS (2.772s)
gta at DUT1375ADLS:~/freedesktop-igt$ lsmod|grep xe
xe                   6721536  2
drm_ttm_helper         20480  1 xe
gpu_sched             159744  1 xe
drm_suballoc_helper    32768  1 xe
i2c_algo_bit           24576  1 xe
ttm                   307200  2 drm_ttm_helper,xe
drm_display_helper    536576  1 xe
drm_kms_helper        663552  2 drm_display_helper,xe
drm_buddy              40960  1 xe
drm                  1925120  9 gpu_sched,drm_kms_helper,drm_suballoc_helper,drm_display_helper,drm_buddy,drm_ttm_helper,xe,ttm
video                 102400  1 xe



More information about the igt-dev mailing list