From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>,
"Modem, Bhanuprakash" <bhanuprakash.modem@intel.com>
Subject: Re: [igt-dev] [i-g-t 3/5] tests/intel/kms_dirtyfb: Use blitter as a default draw method
Date: Wed, 15 Nov 2023 10:15:44 +0000 [thread overview]
Message-ID: <425199b137a40c80e7b3f57f016e996dbf6f7dd2.camel@intel.com> (raw)
In-Reply-To: <20231115070344.1488683-4-bhanuprakash.modem@intel.com>
On Wed, 2023-11-15 at 12:33 +0530, Bhanuprakash Modem wrote:
> As Rendercopy support in IGT is not present for few latest
> platforms, use Blitter as default draw method.
>
> Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
> Cc: Jouni Högander <jouni.hogander@intel.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> ---
> tests/intel/kms_dirtyfb.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/intel/kms_dirtyfb.c b/tests/intel/kms_dirtyfb.c
> index b14cc8bec..c072c221d 100644
> --- a/tests/intel/kms_dirtyfb.c
> +++ b/tests/intel/kms_dirtyfb.c
> @@ -177,7 +177,7 @@ static void prepare(data_t *data)
> &data->fbs[0]);
>
> igt_draw_rect_fb(data->drm_fd, data->bops, 0, &data->fbs[0],
> - IGT_DRAW_RENDER, 0, 0, data->fbs[0].width,
> + IGT_DRAW_BLT, 0, 0, data->fbs[0].width,
I think you should use same method in prepare as you are using in the
test itself. I.e. utilize that "supports" helper and use rendercopy if
possible here.
BR,
Jouni Högander
> data->fbs[0].height, 0xFF);
>
> primary = igt_output_get_plane_type(data->output,
> @@ -197,7 +197,7 @@ static void prepare(data_t *data)
> DRM_FORMAT_MOD_LINEAR, 0.0, 1.0, 0.0,
> &data->fbs[1]);
> igt_draw_rect_fb(data->drm_fd, data->bops, 0, &data->fbs[1],
> - IGT_DRAW_RENDER, 0, 0, data->fbs[1].width,
> + IGT_DRAW_BLT, 0, 0, data->fbs[1].width,
> data->fbs[1].height, 0xFF);
>
> igt_create_color_fb(data->drm_fd, data->mode->hdisplay,
next prev parent reply other threads:[~2023-11-15 10:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-15 7:03 [igt-dev] [i-g-t 0/5] Fix the usage of Rendercopy in KMS tests Bhanuprakash Modem
2023-11-15 7:03 ` [igt-dev] [i-g-t 1/5] tests/intel/kms_fbt: Use blitter as a default draw method Bhanuprakash Modem
2023-11-15 7:03 ` [igt-dev] [i-g-t 2/5] tests/intel/kms_fbt: Fill fb region with requested " Bhanuprakash Modem
2023-11-15 7:03 ` [igt-dev] [i-g-t 3/5] tests/intel/kms_dirtyfb: Use blitter as a default " Bhanuprakash Modem
2023-11-15 10:15 ` Hogander, Jouni [this message]
2023-11-15 12:56 ` Modem, Bhanuprakash
2023-11-15 7:03 ` [igt-dev] [i-g-t 4/5] tests/intel/kms_dirtyfb: Use blitter if rendercopy isn't present Bhanuprakash Modem
2023-11-15 10:17 ` Hogander, Jouni
2023-11-15 7:03 ` [igt-dev] [i-g-t 5/5] tests/intel/kms_dirtyfb: Restructure dynamic subtests Bhanuprakash Modem
2023-11-15 10:19 ` Hogander, Jouni
2023-11-15 12:39 ` Modem, Bhanuprakash
2023-11-15 8:16 ` [igt-dev] ✓ Fi.CI.BAT: success for Fix the usage of Rendercopy in KMS tests Patchwork
2023-11-15 8:51 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-11-17 0:33 ` [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=425199b137a40c80e7b3f57f016e996dbf6f7dd2.camel@intel.com \
--to=jouni.hogander@intel.com \
--cc=bhanuprakash.modem@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