[igt-dev] [PATCH i-g-t] tests/intel/kms_frontbuffer_tracking: Cleanup pipe crc

Sharma, Swati2 swati2.sharma at intel.com
Wed Dec 27 04:54:13 UTC 2023


LGTM

Reviewed-by: Swati Sharma <swati2.sharma at intel.com>

On 06-Dec-23 2:01 PM, Nidhi Gupta wrote:
> Before testing FBC on next pipe, cleanup pipe CRCs
> to avoid any mismatch.
> 
> Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
> ---
>   tests/intel/kms_frontbuffer_tracking.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/tests/intel/kms_frontbuffer_tracking.c b/tests/intel/kms_frontbuffer_tracking.c
> index 1daf27d2e..e10803b62 100644
> --- a/tests/intel/kms_frontbuffer_tracking.c
> +++ b/tests/intel/kms_frontbuffer_tracking.c
> @@ -4532,6 +4532,9 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
>   					continue;
>   				}
>   
> +				pipe_crc = NULL;
> +				setup_crcs();
> +
>   				for_each_valid_output_on_pipe(&drm.display, pipe, output) {
>   					init_mode_params(&prim_mode_params, output, pipe);
>   					setup_fbc();


More information about the igt-dev mailing list