Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org, mohammed.thasleem@intel.com
Subject: [igt-dev] [PATCH i-g-t] tests/kms_lease: Fix the usage of pipe for lessee
Date: Thu,  6 Apr 2023 19:46:57 +0530	[thread overview]
Message-ID: <20230406141657.529728-1-bhanuprakash.modem@intel.com> (raw)

Use pipe enum from the lessee display structure.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 tests/kms_lease.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_lease.c b/tests/kms_lease.c
index cb020cc3dab..29a774ae865 100644
--- a/tests/kms_lease.c
+++ b/tests/kms_lease.c
@@ -77,7 +77,7 @@ static int prepare_crtc(lease_t *lease, data_t *data)
 	drmModeModeInfo *mode;
 	igt_display_t *display = &lease->display;
 	igt_output_t *output = connector_id_to_output(display, data->connector_id);
-	enum pipe pipe = data->pipe;
+	enum pipe pipe = display->pipes[data->pipe].pipe;
 	igt_plane_t *primary;
 	int ret;
 
-- 
2.40.0

             reply	other threads:[~2023-04-06 14:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-06 14:16 Bhanuprakash Modem [this message]
2023-04-06 15:17 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_lease: Fix the usage of pipe for lessee Patchwork
2023-04-07  4:51 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-04-10  9:23 ` [igt-dev] [PATCH i-g-t] " Thasleem, Mohammed
2023-04-10  9:56 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_lease: Fix the usage of pipe for lessee (rev2) Patchwork
2023-04-10 11:11 ` [igt-dev] ✓ Fi.CI.IGT: " 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=20230406141657.529728-1-bhanuprakash.modem@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=mohammed.thasleem@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox