From: "Naladala, Ramanaidu" <Ramanaidu.naladala@intel.com>
To: <igt-dev@lists.freedesktop.org>
Subject: Re: [PATCH i-g-t] tests/kms_rotation_crc: Intel Xe2 cannot do hflip with tile4
Date: Fri, 18 Oct 2024 02:36:22 +0530 [thread overview]
Message-ID: <e301f56b-4d7d-448f-98f2-b04fa3102609@intel.com> (raw)
In-Reply-To: <20240912144645.862462-1-juhapekka.heikkila@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]
Hi JP,
On 9/12/2024 8:16 PM, Juha-Pekka Heikkila wrote:
> On Intel Xe2 hw Tile4 no longer can be used with horizontal flip on display.
> bspec 69853
>
> Signed-off-by: Juha-Pekka Heikkila<juhapekka.heikkila@gmail.com>
> ---
> tests/kms_rotation_crc.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
> index 8d8c53b5f..3e9190590 100644
> --- a/tests/kms_rotation_crc.c
> +++ b/tests/kms_rotation_crc.c
> @@ -639,6 +639,12 @@ static void test_plane_rotation(data_t *data, int plane_type, bool test_bad_form
> !IS_CHERRYVIEW(data->devid) ||
> data->rotation != (IGT_ROTATION_180 | IGT_REFLECT_X));
>
> + /* Intel Xe2 onwards cannot do reflect tile4 */
> + igt_require(!is_intel_device(data->gfx_fd) ||
> + intel_gen(data->devid) < 20 ||
> + !(data->override_modifier == I915_FORMAT_MOD_4_TILED &&
> + data->rotation&IGT_REFLECT_X));
> +
As per BSpec (69853) up to XE2, horizontal flip is not supported with
linear surface formats. If it is valid to add that check, please do so.
> prepare_crtc(data, output, pipe, plane, true);
>
> for (i = 0; i < num_rectangle_types; i++) {
[-- Attachment #2: Type: text/html, Size: 3096 bytes --]
next prev parent reply other threads:[~2024-10-17 21:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-12 14:46 [PATCH i-g-t] tests/kms_rotation_crc: Intel Xe2 cannot do hflip with tile4 Juha-Pekka Heikkila
2024-09-12 18:47 ` ✓ CI.xeBAT: success for " Patchwork
2024-09-12 18:49 ` ✓ Fi.CI.BAT: " Patchwork
2024-09-13 10:30 ` ✗ CI.xeFULL: failure " Patchwork
2024-09-13 10:39 ` ✗ Fi.CI.IGT: " Patchwork
2024-10-17 21:06 ` Naladala, Ramanaidu [this message]
2024-10-18 7:07 ` [PATCH i-g-t] " Juha-Pekka Heikkila
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=e301f56b-4d7d-448f-98f2-b04fa3102609@intel.com \
--to=ramanaidu.naladala@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