Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Modem, Bhanuprakash" <bhanuprakash.modem@intel.com>
To: Karthik B S <karthik.b.s@intel.com>,
	"Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>,
	<igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [i-g-t V4 4/6] tests/i915/kms_psr: Use linear modifier to create FB
Date: Thu, 20 Apr 2023 10:49:11 +0530	[thread overview]
Message-ID: <fba412aa-319c-ce1c-993e-faf39d24f8e1@intel.com> (raw)
In-Reply-To: <2dd99ceb-e428-0bde-7339-d2fa808bfb6d@intel.com>



On Thu-20-04-2023 10:42 am, Karthik B S wrote:
> 
> On 4/20/2023 10:34 AM, Nautiyal, Ankit K wrote:
>>
>> On 4/19/2023 4:52 PM, Bhanuprakash Modem wrote:
>>> To create a color framebuffer, nstead of using X-tiled use
>>> liniear modifier.
>>
>> typos : instead, linear.
>>
>> Perhaps it can be reworded to specify that the change is to make the 
>> test compatible for drivers, only supporting
>>
>> linear modifiers.
> 
> I agree with this. Please mention this reasoning as to why this change 
> is made.

Sure, will update the commit message while merging the patch. Hope don't 
need to float a new rev.

- Bhanu

> 
> With this update the patch LGTM.
> 
> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
> 
>>
>> Otherwise the changes LGTM.
>>
>> Acked-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
>>
>>
>>>
>>> Cc: Karthik B S <karthik.b.s@intel.com>
>>> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
>>> ---
>>>   tests/i915/kms_psr.c | 4 ++--
>>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/tests/i915/kms_psr.c b/tests/i915/kms_psr.c
>>> index 3efe1faec..dfc2fbb65 100644
>>> --- a/tests/i915/kms_psr.c
>>> +++ b/tests/i915/kms_psr.c
>>> @@ -388,7 +388,7 @@ static void setup_test_plane(data_t *data, int 
>>> test_plane)
>>>       igt_create_color_fb(data->drm_fd,
>>>                   data->mode->hdisplay, data->mode->vdisplay,
>>>                   DRM_FORMAT_XRGB8888,
>>> -                I915_FORMAT_MOD_X_TILED,
>>> +                DRM_FORMAT_MOD_LINEAR,
>>>                   0.0, 1.0, 0.0,
>>>                   &data->fb_green);
>>>   @@ -416,7 +416,7 @@ static void setup_test_plane(data_t *data, int 
>>> test_plane)
>>>           igt_create_color_fb(data->drm_fd,
>>>                       white_h, white_v,
>>>                       DRM_FORMAT_XRGB8888,
>>> -                    I915_FORMAT_MOD_X_TILED,
>>> +                    DRM_FORMAT_MOD_LINEAR,
>>>                       1.0, 1.0, 1.0,
>>>                       &data->fb_white);
>>>           break;

  reply	other threads:[~2023-04-20  5:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19 11:22 [igt-dev] [i-g-t V4 0/6] Enable KMS tests in XE BAT Bhanuprakash Modem
2023-04-19 11:22 ` [igt-dev] [i-g-t V4 1/6] lib: Use i915 namespace for XE debugfs Bhanuprakash Modem
2023-04-19 11:22 ` [igt-dev] [i-g-t V4 2/6] tests/kms_cursor_legacy: Add XE support Bhanuprakash Modem
2023-04-19 11:22 ` [igt-dev] [i-g-t V4 3/6] tests/kms_flip: " Bhanuprakash Modem
2023-04-19 11:22 ` [igt-dev] [i-g-t V4 4/6] tests/i915/kms_psr: Use linear modifier to create FB Bhanuprakash Modem
2023-04-20  5:04   ` Nautiyal, Ankit K
2023-04-20  5:12     ` Karthik B S
2023-04-20  5:19       ` Modem, Bhanuprakash [this message]
2023-04-19 11:22 ` [igt-dev] [i-g-t V4 5/6] tests/i915/kms_psr*: Add XE support Bhanuprakash Modem
2023-04-20  5:08   ` Karthik B S
2023-04-19 11:22 ` [igt-dev] [i-g-t V4 6/6] xe-fast-feedback: Add kms tests to XE BAT Bhanuprakash Modem
2023-04-19 16:52 ` [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in XE BAT (rev5) Patchwork
2023-04-19 20:20 ` [igt-dev] ✓ Fi.CI.IGT: " 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=fba412aa-319c-ce1c-993e-faf39d24f8e1@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=karthik.b.s@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox