[PATCH i-g-t] tests/intel/psr: update documentation

Karthik B S karthik.b.s at intel.com
Thu Oct 17 10:58:59 UTC 2024


On 10/17/2024 1:53 PM, Swati Sharma wrote:
> Update mega feature from DP to Panel Replay.
> Also, update functionality.
>
> Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
> ---
>   tests/intel/kms_psr.c     | 32 ++++++++++++++++----------------
>   tests/intel/kms_psr2_sf.c | 37 ++++++++++++++++++++++++++++++-------
>   2 files changed, 46 insertions(+), 23 deletions(-)
>
> diff --git a/tests/intel/kms_psr.c b/tests/intel/kms_psr.c
> index 2badeeddd..ad49c18f0 100644
> --- a/tests/intel/kms_psr.c
> +++ b/tests/intel/kms_psr.c
> @@ -182,46 +182,46 @@
>    * SUBTEST: pr-basic
>    * Description: Basic check for pr if it is detecting changes made in planes
>    * Functionality: pr
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: fbc-pr-basic
>    * Description: Basic check for fbc with pr if it is detecting changes made in planes
>    * Functionality: pr, fbc
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: pr-dpms
>    * Description: Check if pr is detecting changes when rendering operation
>    *              is performed with dpms enabled or disabled
>    * Functionality: pr, dpms
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: fbc-pr-dpms
>    * Description: Check if fbc with pr is detecting changes when rendering operation
>    *              is performed with dpms enabled or disabled
>    * Functionality: pr, dpms, fbc
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: pr-no-drrs
>    * Description: Check if pr is detecting changes when drrs is disabled
>    * Functionality: pr, drrs
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: fbc-pr-no-drrs
>    * Description: Check if fbc with pr is detecting changes when drrs is disabled
>    * Functionality: pr, drrs, fbc
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: pr-suspend
>    * Description: Check if pr is detecting changes when plane operation is
>    *              performed with suspend resume cycles
>    * Functionality: pr, suspend
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: fbc-pr-suspend
>    * Description: Check if fbc with pr is detecting changes when plane operation is
>    *              performed with suspend resume cycles
>    * Functionality: pr, suspend, fbc
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    */
>   
>   /**
> @@ -230,14 +230,14 @@
>    * 		performed on %arg[1] planes
>    * Driver requirement: i915
>    * Functionality: pr, plane
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: fbc-pr-%s-%s
>    * Description: Check if fbc with pr is detecting memory mapping %arg[2] operations
>    *              performed on %arg[1] planes
>    * Driver requirement: i915
>    * Functionality: pr, plane, fbc
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * arg[1]:
>    *
> @@ -256,25 +256,25 @@
>    * Description: Check if pr is detecting page-flipping operation
>    * 		performed on primary plane
>    * Functionality: pr, plane
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: fbc-pr-primary-page-flip
>    * Description: Check if fbc with pr is detecting page-flipping operation
>    *              performed on primary plane
>    * Functionality: pr, plane, fbc
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: pr-primary-%s
>    * Description: Check if pr is detecting rendering operations %arg[1]
>    * 		when performed on primary plane
>    * Functionality: pr, plane
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: fbc-pr-primary-%s
>    * Description: Check if fbc with pr is detecting rendering operations %arg[1]
>    *              when performed on primary plane
>    * Functionality: pr, plane, fbc
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * arg[1]:
>    *
> @@ -287,13 +287,13 @@
>    * Description: Check if pr is detecting rendering and plane
>    *              operations %arg[2] performed on %arg[1] planes
>    * Functionality: pr, plane
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * SUBTEST: fbc-pr-%s-%s
>    * Description: Check if fbc with pr is detecting rendering and plane
>    *              operations %arg[2] performed on %arg[1] planes
>    * Functionality: pr, plane, fbc
> - * Mega feature: DP2.0
> + * Mega feature: Panel Replay
>    *
>    * arg[1]:
>    *
> diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c
> index 2381360cc..e9a8dc141 100644
> --- a/tests/intel/kms_psr2_sf.c
> +++ b/tests/intel/kms_psr2_sf.c
> @@ -49,8 +49,10 @@
>    *              visible area (no update)
>    *
>    * SUBTEST: pr-%s-plane-move-continuous-%s
> + * Mega feature: Panel Replay
>    * Description: Test that selective fetch works on moving %arg[1] plane %arg[2]
>    *              visible area (no update)
> + * Functionality: plane, pr, selective_fetch
>    *
>    * SUBTEST: fbc-psr2-%s-plane-move-continuous-%s
>    * Description: Test that fbc with selective fetch works on moving %arg[1] plane %arg[2]
> @@ -58,9 +60,10 @@
>    * Functionality: plane, psr2, selective_fetch, fbc
>    *
>    * SUBTEST: fbc-pr-%s-plane-move-continuous-%s
> + * Mega feature: Panel Replay
>    * Description: Test that fbc with selective fetch works on moving %arg[1] plane %arg[2]
>    *              visible area (no update)
> - * Functionality: plane, psr2, selective_fetch, fbc
> + * Functionality: plane, pr, selective_fetch, fbc
>    *
>    * arg[1]:
>    *
> @@ -79,35 +82,43 @@
>    * Description: Test that selective fetch works on cursor plane
>    *
>    * SUBTEST: pr-cursor-plane-update-sf
> + * Mega feature: Panel Replay
>    * Description: Test that selective fetch works on cursor plane
> + * Functionality: plane, pr, selective_fetch
>    *
>    * SUBTEST: fbc-psr2-cursor-plane-update-sf
>    * Description: Test that fbc with selective fetch works on cursor plane
>    * Functionality: plane, psr2, selective_fetch, fbc
>    *
>    * SUBTEST: fbc-pr-cursor-plane-update-sf
> + * Mega feature: Panel Replay
>    * Description: Test that fbc with selective fetch works on cursor plane
> - * Functionality: plane, psr2, selective_fetch, fbc
> + * Functionality: plane, pr, selective_fetch, fbc
>    *
>    * SUBTEST: psr2-overlay-plane-update-continuous-sf
>    * Description: Test that selective fetch works on overlay plane
>    *
>    * SUBTEST: pr-overlay-plane-update-continuous-sf
> + * Mega feature: Panel Replay
>    * Description: Test that selective fetch works on overlay plane
> + * Functionality: plane, pr, selective_fetch
>    *
>    * SUBTEST: fbc-psr2-overlay-plane-update-sf-dmg-area
>    * Description: Test that fbc with selective fetch works on overlay plane
>    * Functionality: plane, psr2, selective_fetch, fbc
>    *
>    * SUBTEST: fbc-pr-overlay-plane-update-sf-dmg-area
> + * Mega feature: Panel Replay
>    * Description: Test that fbc with selective fetch works on overlay plane
> - * Functionality: plane, psr2, selective_fetch, fbc
> + * Functionality: plane, pr, selective_fetch, fbc
>    *
>    * SUBTEST: psr2-overlay-plane-update-sf-dmg-area
>    * Description: Test that selective fetch works on overlay plane
>    *
>    * SUBTEST: pr-overlay-plane-update-sf-dmg-area
> + * Mega feature: Panel Replay
>    * Description: Test that selective fetch works on overlay plane
> + * Functionality: plane, pr, selective_fetch
>    *
>    * SUBTEST: fbc-psr2-overlay-plane-update-continuous-sf
>    * Description: Test that fbc with selective fetch works on overlay plane
> @@ -115,15 +126,17 @@
>    *
>    * SUBTEST: fbc-pr-overlay-plane-update-continuous-sf
>    * Description: Test that fbc with selective fetch works on overlay plane
> - * Functionality: plane, psr2, selective_fetch, fbc
> + * Functionality: plane, pr, selective_fetch, fbc
>    *
>    * SUBTEST: psr2-overlay-primary-update-sf-dmg-area
>    * Description: Test that selective fetch works on primary plane with blended
>    *              overlay plane
>    *
>    * SUBTEST: pr-overlay-primary-update-sf-dmg-area
> + * Mega feature: Panel Replay
>    * Description: Test that selective fetch works on primary plane with blended
>    *              overlay plane
> + * Functionality: plane, pr, selective_fetch
>    *
>    * SUBTEST: fbc-psr2-overlay-primary-update-sf-dmg-area
>    * Description: Test that fbc with selective fetch works on primary plane with blended
> @@ -131,43 +144,53 @@
>    * Functionality: plane, psr2, selective_fetch, fbc
>    *
>    * SUBTEST: fbc-pr-overlay-primary-update-sf-dmg-area
> + * Mega feature: Panel Replay
>    * Description: Test that fbc with selective fetch works on primary plane with blended
>    *              overlay plane
> - * Functionality: plane, psr2, selective_fetch, fbc
> + * Functionality: plane, pr, selective_fetch, fbc
>    *
>    * SUBTEST: psr2-plane-move-sf-dmg-area
>    * Description: Test that selective fetch works on moving overlay plane
>    *
>    * SUBTEST: pr-plane-move-sf-dmg-area
> + * Mega feature: Panel Replay
>    * Description: Test that selective fetch works on moving overlay plane
> + * Functionality: plane, pr, selective_fetch
>    *
>    * SUBTEST: fbc-psr2-plane-move-sf-dmg-area
>    * Description: Test that fbc with selective fetch works on moving overlay plane
>    * Functionality: plane, psr2, selective_fetch, fbc
>    *
>    * SUBTEST: fbc-pr-plane-move-sf-dmg-area
> + * Mega feature: Panel Replay
>    * Description: Test that fbc with selective fetch works on moving overlay plane
> - * Functionality: plane, psr2, selective_fetch, fbc
> + * Functionality: plane, pr, selective_fetch, fbc
>    *
>    * SUBTEST: psr2-primary-plane-update-sf-dmg-area
>    * Description: Test that selective fetch works on primary plane
>    *
>    * SUBTEST: pr-primary-plane-update-sf-dmg-area
> + * Mega feature: Panel Replay
>    * Description: Test that selective fetch works on primary plane
> + * Functionality: plane, pr, selective_fetch
>    *
>    * SUBTEST: fbc-psr2-primary-plane-update-sf-dmg-area
>    * Description: Test that fbc with selective fetch works on primary plane
>    * Functionality: plane, psr2, selective_fetch, fbc
>    *
>    * SUBTEST: fbc-pr-primary-plane-update-sf-dmg-area
> + * Mega feature: Panel Replay
>    * Description: Test that fbc with selective fetch works on primary plane
> - * Functionality: plane, psr2, selective_fetch, fbc
> + * Functionality: plane, pr, selective_fetch, fbc
>    *
>    * SUBTEST: psr2-primary-plane-update-sf-dmg-area-big-fb
>    * Description: Test that selective fetch works on primary plane with big fb
> + * Functionality: plane, psr2, selective_fetch, big_fbs
>    *
>    * SUBTEST: pr-primary-plane-update-sf-dmg-area-big-fb
> + * Mega feature: Panel Replay
>    * Description: Test that selective fetch works on primary plane with big fb
> + * Functionality: plane, pr, selective_fetch, big_fbs
>    */
>   
>   IGT_TEST_DESCRIPTION("Tests to verify PSR2 selective fetch by sending multiple"


More information about the igt-dev mailing list