[PATCH i-g-t 2/3] tests/intel/xe_pm: Move mocs documentation to the right place

Cavitt, Jonathan jonathan.cavitt at intel.com
Mon May 13 16:44:51 UTC 2024


-----Original Message-----
From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Lucas De Marchi
Sent: Monday, May 13, 2024 9:25 AM
To: igt-dev at lists.freedesktop.org
Cc: Kumar, Janga Rahul <janga.rahul.kumar at intel.com>; Nilawar, Badal <badal.nilawar at intel.com>; De Marchi, Lucas <lucas.demarchi at intel.com>
Subject: [PATCH i-g-t 2/3] tests/intel/xe_pm: Move mocs documentation to the right place
> 
> {s_state}-mocs is not tested by test_exec(). Move it on top of the right
> function.
> 
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>

Acked-by: Jonathan Cavitt <jonathan.cavitt at intel.com>
-Jonathan Cavitt

> ---
>  tests/intel/xe_pm.c | 15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
> index 1215b5c2a..584cb8548 100644
> --- a/tests/intel/xe_pm.c
> +++ b/tests/intel/xe_pm.c
> @@ -251,10 +251,6 @@ static void close_fw_handle(int sig)
>   * Description: suspend/autoresume on %arg[1] state and exec after RPM
>   * Functionality: pm - %arg[1]
>   *
> - * SUBTEST: %s-mocs
> - * Description: test checks for mocs state before and after %arg[1] state
> - * Functionality: pm - %arg[1]
> - *
>   * arg[1]:
>   *
>   * @s2idle:	s2idle
> @@ -624,6 +620,17 @@ static void test_mmap(device_t device, uint32_t placement, uint32_t flags)
>   * Functionality: mocs
>   * Run type: FULL
>   */
> +/**
> + * SUBTEST: %s-mocs
> + * Description: test checks for mocs state before and after %arg[1] state
> + * Functionality: pm - %arg[1]
> + *
> + * arg[1]:
> + *
> + * @s2idle:	s2idle
> + * @s3:		s3
> + * @s4:		s4
> + */
>  static void test_mocs_suspend_resume(device_t device, int s_state)
>  {
>  	int gt;
> -- 
> 2.43.0
> 
> 


More information about the igt-dev mailing list