From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [i-g-t V2 2/3] tests/i915/kms_ccs: Cleanup to use linear modifier
Date: Wed, 15 Mar 2023 12:25:03 +0200 [thread overview]
Message-ID: <ZBGc/3axSjSQn0UN@intel.com> (raw)
In-Reply-To: <20230313151406.2113963-2-bhanuprakash.modem@intel.com>
On Mon, Mar 13, 2023 at 08:44:05PM +0530, Bhanuprakash Modem wrote:
> Use either compressed or linear modifier to test. Due to the
> lack of available bandwidth, we cannot fit two CCS planes into
> the available FIFO configurations.
>
> Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> ---
> tests/i915/kms_ccs.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/tests/i915/kms_ccs.c b/tests/i915/kms_ccs.c
> index 9be3fa252..18d48fb80 100644
> --- a/tests/i915/kms_ccs.c
> +++ b/tests/i915/kms_ccs.c
> @@ -393,10 +393,8 @@ static void generate_fb(data_t *data, struct igt_fb *fb,
> */
> if (fb_flags & FB_COMPRESSED)
> modifier = data->ccs_modifier;
> - else if (!(fb_flags & FB_HAS_PLANE))
> - modifier = DRM_FORMAT_MOD_LINEAR;
> else
> - modifier = 0;
> + modifier = DRM_FORMAT_MOD_LINEAR;
Isn't this whole change a nop? If so why does the commit message
seem to indicate some kind of functional change?
>
> create_fb_prepare_add(data->drm_fd, width, height,
> data->format, modifier,
> --
> 2.39.1
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2023-03-15 10:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-13 15:14 [igt-dev] [i-g-t V2 1/3] tests/kms: Cleanup to use linear modifier Bhanuprakash Modem
2023-03-13 15:14 ` [igt-dev] [i-g-t V2 2/3] tests/i915/kms_ccs: " Bhanuprakash Modem
2023-03-15 10:25 ` Ville Syrjälä [this message]
2023-03-13 15:14 ` [igt-dev] [i-g-t V2 3/3] tests/kms: Add missing igt_put_cairo_ctx() Bhanuprakash Modem
2023-03-13 16:49 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,V2,1/3] tests/kms: Cleanup to use linear modifier Patchwork
2023-03-14 19:43 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-03-15 10:01 ` [igt-dev] [i-g-t V2 1/3] " 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=ZBGc/3axSjSQn0UN@intel.com \
--to=ville.syrjala@linux.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 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.