Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: "Modem, Bhanuprakash" <bhanuprakash.modem@intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 3/5] tests/intel/kms_pm_dc: Use linear modifier to set primary plane
Date: Mon, 11 Sep 2023 20:40:02 +0530	[thread overview]
Message-ID: <3ec1a44b-52f1-c3a4-0cc0-f1a6a2230bbb@intel.com> (raw)
In-Reply-To: <efd53eb0-6c82-17e7-0133-9e7f5cd36df5@intel.com>


On 11-Sep-23 8:15 PM, Modem, Bhanuprakash wrote:
> Hi Swati,
> 
> On Fri-08-09-2023 11:20 pm, Swati Sharma wrote:
>> To setup primary plane, use DRM_FORMAT_MOD_LINEAR instead of
>> I915_FORMAT_MOD_X_TILED.
>>
>> Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
>> ---
>>   tests/intel/kms_pm_dc.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tests/intel/kms_pm_dc.c b/tests/intel/kms_pm_dc.c
>> index 895fe4b4c..b5779eaa5 100644
>> --- a/tests/intel/kms_pm_dc.c
>> +++ b/tests/intel/kms_pm_dc.c
>> @@ -231,7 +231,7 @@ static void setup_primary(data_t *data)
>>       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,
> 
> Any special reason for this change?

For DC states validation, it doesn't matter with which modifier we are 
creating fb.
With this change we can make this test independent of x-tiling support.

> 
> - Bhanu
> 
>>                   1.0, 1.0, 1.0,
>>                   &data->fb_white);
>>       igt_plane_set_fb(primary, &data->fb_white);

  reply	other threads:[~2023-09-11 15:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-08 17:50 [igt-dev] [PATCH i-g-t 0/5] Add XE support for display PM tests Swati Sharma
2023-09-08 17:50 ` [igt-dev] [PATCH i-g-t 1/5] tests/intel/kms_pm_backlight: Add XE support Swati Sharma
2023-09-11 14:42   ` Modem, Bhanuprakash
2023-09-08 17:50 ` [igt-dev] [PATCH i-g-t 2/5] tests/intel/kms_pm_lpsp: " Swati Sharma
2023-09-11 14:44   ` Modem, Bhanuprakash
2023-09-11 15:08     ` Sharma, Swati2
2023-09-13 10:42       ` Modem, Bhanuprakash
2023-09-08 17:50 ` [igt-dev] [PATCH i-g-t 3/5] tests/intel/kms_pm_dc: Use linear modifier to set primary plane Swati Sharma
2023-09-11 14:45   ` Modem, Bhanuprakash
2023-09-11 15:10     ` Sharma, Swati2 [this message]
2023-09-13 10:43       ` Modem, Bhanuprakash
2023-09-08 17:50 ` [igt-dev] [PATCH i-g-t 4/5] tests/intel/kms_pm_dc: Use gem_has_lmem() Swati Sharma
2023-09-11 14:51   ` Modem, Bhanuprakash
2023-09-11 15:12     ` Sharma, Swati2
2023-09-08 17:50 ` [igt-dev] [PATCH i-g-t 5/5] tests/intel/kms_pm_dc: Add XE support Swati Sharma
2023-09-11 15:00   ` Modem, Bhanuprakash
2023-09-11 15:13     ` Sharma, Swati2
2023-09-08 19:19 ` [igt-dev] ✗ GitLab.Pipeline: warning for Add XE support for display PM tests Patchwork
2023-09-08 19:56 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-09-08 20:25 ` [igt-dev] ✗ CI.xeBAT: failure " Patchwork
2023-09-09  0:50 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-09-14 14:03 [igt-dev] [PATCH i-g-t 0/5] " Swati Sharma
2023-09-14 14:03 ` [igt-dev] [PATCH i-g-t 3/5] tests/intel/kms_pm_dc: Use linear modifier to set primary plane Swati Sharma

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=3ec1a44b-52f1-c3a4-0cc0-f1a6a2230bbb@intel.com \
    --to=swati2.sharma@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