From: "Jouni Högander" <jouni.hogander@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 4/4] tests/i915/kms_psr2_sf: Fix setting wrong fb size
Date: Mon, 30 May 2022 09:07:01 +0300 [thread overview]
Message-ID: <20220530060701.406219-5-jouni.hogander@intel.com> (raw)
In-Reply-To: <20220530060701.406219-1-jouni.hogander@intel.com>
Current code is improperly setting over framebuffer size. Fix this
by setting primary framebuffer size instead.
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
tests/i915/kms_psr2_sf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/i915/kms_psr2_sf.c b/tests/i915/kms_psr2_sf.c
index 47a431b6..6612587c 100644
--- a/tests/i915/kms_psr2_sf.c
+++ b/tests/i915/kms_psr2_sf.c
@@ -367,7 +367,7 @@ static void prepare(data_t *data)
igt_plane_set_fb(primary, &data->fb_primary);
igt_fb_set_position(&data->fb_primary, primary, x, y);
- igt_fb_set_size(&data->fb_overlay, primary, view_w,
+ igt_fb_set_size(&data->fb_primary, primary, view_w,
view_h);
igt_plane_set_size(primary, view_w, view_h);
igt_plane_set_position(primary, 0, 0);
--
2.25.1
next prev parent reply other threads:[~2022-05-30 6:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-30 6:06 [igt-dev] [PATCH i-g-t 0/4] Fixes for big_fb test handling Jouni Högander
2022-05-30 6:06 ` [igt-dev] [PATCH i-g-t 1/4] tests/i915/kms_psr2_sf.c: Fix for setting wrong size for cursor fb Jouni Högander
2022-05-30 8:34 ` Kahola, Mika
2022-05-30 6:06 ` [igt-dev] [PATCH i-g-t 2/4] tests/i915_kms_psr2_sf: Set big_fb_test as 0 by default Jouni Högander
2022-05-30 8:34 ` Kahola, Mika
2022-05-30 6:07 ` [igt-dev] [PATCH i-g-t 3/4] tests/i915/kms_psr2_sf: Make setting fb and plane sz/pos more clear Jouni Högander
2022-05-30 8:34 ` Kahola, Mika
2022-05-30 6:07 ` Jouni Högander [this message]
2022-05-30 8:35 ` [igt-dev] [PATCH i-g-t 4/4] tests/i915/kms_psr2_sf: Fix setting wrong fb size Kahola, Mika
2022-05-30 6:41 ` [igt-dev] ✓ Fi.CI.BAT: success for Fixes for big_fb test handling Patchwork
2022-05-30 7:39 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-05-30 12:53 ` [igt-dev] [PATCH i-g-t 0/4] " Hogander, Jouni
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=20220530060701.406219-5-jouni.hogander@intel.com \
--to=jouni.hogander@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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.