diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-05-13 09:24:33 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-05-14 06:04:43 -0700 |
commit | 7b6bc4b4fc691e89a9fbcfd76319ab033ca9f591 (patch) | |
tree | beda1d059eb2636397373bd8ee0bf44f13e60620 | |
parent | 010f8c36cc800bdaa72b4266f92667005602efab (diff) |
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.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://lore.kernel.org/r/20240513162435.952578-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
-rw-r--r-- | tests/intel/xe_pm.c | 15 |
1 files 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; |