Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Karthik B S <karthik.b.s@intel.com>
To: "Kamil Konieczny" <kamil.konieczny@linux.intel.com>,
	igt-dev@lists.freedesktop.org, "Zack Rusin" <zackr@vmware.com>,
	krastevm@vmware.com, mombasawalam@vmware.com, banackm@vmware.com,
	adrinael@adrinael.net, iforbes@vmware.com,
	"Bhanuprakash Modem" <bhanuprakash.modem@intel.com>,
	"Ville Syrjälä" <ville.syrjala@linux.intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t v4 8/8] lib: Fix igt_kms for drivers with 8 crtc's
Date: Wed, 19 Apr 2023 10:11:07 +0530	[thread overview]
Message-ID: <a00b7aa6-7229-8930-c94a-e28a48665190@intel.com> (raw)
In-Reply-To: <20230417123911.mcrcvgvfes4ritsi@kamilkon-desk1>


On 4/17/2023 6:09 PM, Kamil Konieczny wrote:
> Hi,
>
> On 2023-04-12 at 21:24:26 -0400, Zack Rusin wrote:
>> From: Zack Rusin <zackr@vmware.com>
>>
>> To avoid crashes in multiple tests on vmwgfx we need to extend the
>> number of available pipe's to be at least as big as the the number
>> returned by the virtualized drivers (which is 8).
>>
>> Signed-off-by: Zack Rusin <zackr@vmware.com>
>> Reviewed-by: Martin Krastev <krastevm@vmware.com>
>> Reviewed-by: Maaz Mombasawala <mombasawalam@vmware.com>
> imho this should have no impact on kms tests but I will ask also
> Bhanuprakash, Ville and Karthik so +cc them on this.

Agreed.

Acked-by: Karthik B S <karthik.b.s@intel.com>

>
> Regards,
> Kamil
>
>> ---
>>   lib/igt_kms.c | 2 +-
>>   lib/igt_kms.h | 2 ++
>>   2 files changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/lib/igt_kms.c b/lib/igt_kms.c
>> index 50655f13..a23999cb 100644
>> --- a/lib/igt_kms.c
>> +++ b/lib/igt_kms.c
>> @@ -840,7 +840,7 @@ static igt_plane_t *igt_get_assigned_primary(igt_output_t *output, igt_pipe_t *p
>>    */
>>   const char *kmstest_pipe_name(enum pipe pipe)
>>   {
>> -	static const char str[] = "A\0B\0C\0D\0E\0F";
>> +	static const char str[] = "A\0B\0C\0D\0E\0F\0G\0H";
>>   
>>   	_Static_assert(sizeof(str) == IGT_MAX_PIPES * 2,
>>   		       "Missing pipe name");
>> diff --git a/lib/igt_kms.h b/lib/igt_kms.h
>> index 2b917925..d3a39e24 100644
>> --- a/lib/igt_kms.h
>> +++ b/lib/igt_kms.h
>> @@ -62,6 +62,8 @@ enum pipe {
>>           PIPE_D,
>>           PIPE_E,
>>           PIPE_F,
>> +	PIPE_G,
>> +	PIPE_H,
>>           IGT_MAX_PIPES
>>   };
>>   const char *kmstest_pipe_name(enum pipe pipe);
>> -- 
>> 2.39.2
>>

  reply	other threads:[~2023-04-19  4:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-13  1:24 [igt-dev] [PATCH i-g-t v4 0/8] Add vmwgfx support Zack Rusin
2023-04-13  1:24 ` [igt-dev] [PATCH i-g-t v4 1/8] lib/svga: Add generated headers for the svga device Zack Rusin
2023-04-17 12:41   ` Kamil Konieczny
2023-04-13  1:24 ` [igt-dev] [PATCH i-g-t v4 2/8] lib: Add vmwgfx support Zack Rusin
2023-04-13 10:44   ` Kamil Konieczny
2023-04-13  1:24 ` [igt-dev] [PATCH i-g-t v4 3/8] tests/vmwgfx: Add triangle test Zack Rusin
2023-04-13  1:24 ` [igt-dev] [PATCH i-g-t v4 4/8] tests/vmwgfx: Add execution buffer test Zack Rusin
2023-04-13  1:24 ` [igt-dev] [PATCH i-g-t v4 5/8] tests/vmwgfx: Add surface copy test Zack Rusin
2023-04-13  1:24 ` [igt-dev] [PATCH i-g-t v4 6/8] tests/vmwgfx: Add mob stress test Zack Rusin
2023-04-13  1:24 ` [igt-dev] [PATCH i-g-t v4 7/8] tests/vmwgfx: Add reference counting tests Zack Rusin
2023-04-13  1:24 ` [igt-dev] [PATCH i-g-t v4 8/8] lib: Fix igt_kms for drivers with 8 crtc's Zack Rusin
2023-04-17 12:39   ` Kamil Konieczny
2023-04-19  4:41     ` Karthik B S [this message]
2023-04-13  2:05 ` [igt-dev] ✗ Fi.CI.BAT: failure for Add vmwgfx support (rev4) Patchwork
2023-04-13  9:47   ` Kamil Konieczny
2023-04-13 11:31     ` Yedireswarapu, SaiX Nandan
2023-04-13 11:28 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-04-13 13:37 ` [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=a00b7aa6-7229-8930-c94a-e28a48665190@intel.com \
    --to=karthik.b.s@intel.com \
    --cc=adrinael@adrinael.net \
    --cc=banackm@vmware.com \
    --cc=bhanuprakash.modem@intel.com \
    --cc=iforbes@vmware.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=krastevm@vmware.com \
    --cc=mombasawalam@vmware.com \
    --cc=ville.syrjala@linux.intel.com \
    --cc=zackr@vmware.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