From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_pm_rpm: use linear modifier
Date: Thu, 12 Oct 2023 11:44:43 +0530 [thread overview]
Message-ID: <20231012061444.78748-2-swati2.sharma@intel.com> (raw)
In-Reply-To: <20231012061444.78748-1-swati2.sharma@intel.com>
To setup primary plane, use DRM_FORMAT_MOD_LINEAR instead of
I915_FORMAT_MOD_X_TILED.
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
tests/intel/kms_pm_rpm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/intel/kms_pm_rpm.c b/tests/intel/kms_pm_rpm.c
index 2882e265f..a46735875 100644
--- a/tests/intel/kms_pm_rpm.c
+++ b/tests/intel/kms_pm_rpm.c
@@ -1305,13 +1305,13 @@ static void test_one_plane(bool dpms, uint32_t plane_id,
plane_format = DRM_FORMAT_XRGB8888;
plane_w = 64;
plane_h = 64;
- modifier = I915_FORMAT_MOD_X_TILED;
+ modifier = DRM_FORMAT_MOD_LINEAR;
break;
case PLANE_PRIMARY:
plane_format = DRM_FORMAT_XRGB8888;
plane_w = default_mode_params->mode->hdisplay;
plane_h = default_mode_params->mode->vdisplay;
- modifier = I915_FORMAT_MOD_X_TILED;
+ modifier = DRM_FORMAT_MOD_LINEAR;
break;
case PLANE_CURSOR:
plane_format = DRM_FORMAT_ARGB8888;
--
2.25.1
next prev parent reply other threads:[~2023-10-12 6:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-12 6:14 [igt-dev] [PATCH i-g-t 0/2] Add XE support for kms_pm_rpm Swati Sharma
2023-10-12 6:14 ` Swati Sharma [this message]
2023-10-13 20:10 ` [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_pm_rpm: use linear modifier Rodrigo Vivi
2023-10-12 6:14 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_pm_rpm: Add XE support Swati Sharma
2023-10-13 20:09 ` Rodrigo Vivi
2023-10-12 7:23 ` [igt-dev] ✓ CI.xeBAT: success for Add XE support for kms_pm_rpm Patchwork
2023-10-12 7:35 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2023-10-13 1:02 ` [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=20231012061444.78748-2-swati2.sharma@intel.com \
--to=swati2.sharma@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox