From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Swati Sharma <swati2.sharma@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_pm_rpm: use linear modifier
Date: Fri, 13 Oct 2023 16:10:30 -0400 [thread overview]
Message-ID: <ZSmkNuZVDU/Gj9Ns@intel.com> (raw)
In-Reply-To: <20231012061444.78748-2-swati2.sharma@intel.com>
On Thu, Oct 12, 2023 at 11:44:43AM +0530, Swati Sharma wrote:
> To setup primary plane, use DRM_FORMAT_MOD_LINEAR instead of
> I915_FORMAT_MOD_X_TILED.
I don't believe we had any strong reason for the X_tile, so:
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>
> 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-13 20:10 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 ` [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_pm_rpm: use linear modifier Swati Sharma
2023-10-13 20:10 ` Rodrigo Vivi [this message]
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=ZSmkNuZVDU/Gj9Ns@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=swati2.sharma@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.