All of lore.kernel.org
 help / color / mirror / Atom feed
From: Swati Sharma <swati2.sharma@intel.com>
To: Kunal Joshi <kunal1.joshi@intel.com>, igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t v1 2/5] tests/i915/kms_pipe_b_c_ivb.c: test cleanup
Date: Tue, 27 Sep 2022 19:23:49 +0530	[thread overview]
Message-ID: <cc7e2214-7bca-5063-1402-1f0a3b4e13ab@intel.com> (raw)
In-Reply-To: <20220926185321.2897136-3-kunal1.joshi@intel.com>

Hi Kunal,

Same comments here too.
.c should not be there in subj.

On 27-Sep-22 12:23 AM, Kunal Joshi wrote:
> -> Sanitize the state before starting the subtest
> -> close drm_fd
> 
> Cc: Jeevan B <jeevan.b@intel.com>
> Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com>
> ---
>   tests/i915/kms_pipe_b_c_ivb.c | 31 +++++++++++++++++++++++++++++++
>   1 file changed, 31 insertions(+)
> 
> diff --git a/tests/i915/kms_pipe_b_c_ivb.c b/tests/i915/kms_pipe_b_c_ivb.c
> index 5823ae2a..4f49d7b2 100644
> --- a/tests/i915/kms_pipe_b_c_ivb.c
> +++ b/tests/i915/kms_pipe_b_c_ivb.c
> @@ -142,6 +142,12 @@ test_dpms(data_t *data)
>   	igt_output_t *output1, *output2;
>   	int ret;
>   
> +	/*
> +	 * Reset basic pipes, connectors and planes on
> +	 * @display back to default values.
> +	 */
 >> Comment not required at all.
> +	igt_display_reset(&data->display);
> +
>   	find_outputs(data, &output1, &output2);
>   
>   	igt_info("Pipe %s will use connector %s\n",
> @@ -164,6 +170,12 @@ test_lane_reduction(data_t *data)
>   	igt_output_t *output1, *output2;
>   	int ret;
>   
> +	/*
> +	 * Reset basic pipes, connectors and planes on
> +	 * @display back to default values.
> +	 */
> +	igt_display_reset(&data->display);
> +
>   	find_outputs(data, &output1, &output2);
>   
>   	igt_info("Pipe %s will use connector %s\n",
> @@ -187,6 +199,12 @@ test_disable_pipe_B(data_t *data)
>   	igt_output_t *output1, *output2;
>   	int ret;
>   
> +	/*
> +	 * Reset basic pipes, connectors and planes on
> +	 * @display back to default values.
> +	 */
> +	igt_display_reset(&data->display);
> +
>   	find_outputs(data, &output1, &output2);
>   
>   	igt_info("Pipe %s will use connector %s\n",
> @@ -213,6 +231,12 @@ test_from_C_to_B_with_3_lanes(data_t *data)
>   	igt_output_t *output1, *output2;
>   	int ret;
>   
> +	/*
> +	 * Reset basic pipes, connectors and planes on
> +	 * @display back to default values.
> +	 */
> +	igt_display_reset(&data->display);
> +
>   	find_outputs(data, &output1, &output2);
>   
>   	igt_info("Pipe %s will use connector %s\n",
> @@ -236,6 +260,12 @@ test_fail_enable_pipe_C_while_B_has_3_lanes(data_t *data)
>   	igt_output_t *output1, *output2;
>   	int ret;
>   
> +	/*
> +	 * Reset basic pipes, connectors and planes on
> +	 * @display back to default values.
> +	 */
> +	igt_display_reset(&data->display);
> +
>   	find_outputs(data, &output1, &output2);
>   
>   	igt_info("Pipe %s will use connector %s\n",
> @@ -291,5 +321,6 @@ igt_main
>   
>   	igt_fixture {
>   		igt_display_fini(&data.display);
> +		close(data.drm_fd);
>   	}
>   }

-- 
~Swati Sharma

  parent reply	other threads:[~2022-09-27 13:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-26 18:53 [igt-dev] [PATCH i-g-t v1 0/5] IGT test cleanup Kunal Joshi
2022-09-26 18:53 ` [igt-dev] [PATCH i-g-t v1 1/5] tests/chamelium/kms_chamelium.c: " Kunal Joshi
2022-09-27  8:58   ` B, Jeevan
2022-09-27 13:50   ` Swati Sharma
2022-09-26 18:53 ` [igt-dev] [PATCH i-g-t v1 2/5] tests/i915/kms_pipe_b_c_ivb.c: " Kunal Joshi
2022-09-27  2:45   ` B, Jeevan
2022-09-27  8:26     ` Joshi, Kunal1
2022-09-27  8:34       ` B, Jeevan
2022-09-27 13:53   ` Swati Sharma [this message]
2022-09-26 18:53 ` [igt-dev] [PATCH i-g-t v1 3/5] tests/i915/kms_pwrite_crc.c: cleanup Kunal Joshi
2022-09-27  8:56   ` B, Jeevan
2022-09-27 13:57   ` Swati Sharma
2022-09-26 18:53 ` [igt-dev] [PATCH i-g-t v1 4/5] tests/kms_invalid_mode.c Kunal Joshi
2022-09-27  8:54   ` B, Jeevan
2022-09-27 13:59   ` Swati Sharma
2022-09-26 18:53 ` [igt-dev] [PATCH i-g-t v1 5/5] tests/kms_hdmi_inject: test cleanup Kunal Joshi
2022-09-27  8:51   ` B, Jeevan
2022-09-27 14:00   ` Swati Sharma
2022-09-26 19:23 ` [igt-dev] ✗ GitLab.Pipeline: warning for IGT " Patchwork
2022-09-26 19:47 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-09-27  3:51 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc7e2214-7bca-5063-1402-1f0a3b4e13ab@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kunal1.joshi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.