public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] tests/kms_available_modes_crc: Fix handling of unknown single plane modes
Date: Mon, 5 Nov 2018 13:24:35 +0200	[thread overview]
Message-ID: <7ca65f30-2b78-fb69-065e-da47ae9fc4b6@gmail.com> (raw)
In-Reply-To: <8f6846fa-a61d-8a8d-9d51-05d6e78407a5@linux.intel.com>

On 05.11.2018 11:54, Maarten Lankhorst wrote:
> Op 03-11-18 om 12:28 schreef Juha-Pekka Heikkila:
>> Fix creation of gem buffer so that used bpp will always have value other
>> than 0.
>>
>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106701
>> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
>> ---
>>   tests/kms_available_modes_crc.c | 10 +++++-----
>>   1 file changed, 5 insertions(+), 5 deletions(-)
>>
>> diff --git a/tests/kms_available_modes_crc.c b/tests/kms_available_modes_crc.c
>> index 45a4775..006c2db 100644
>> --- a/tests/kms_available_modes_crc.c
>> +++ b/tests/kms_available_modes_crc.c
>> @@ -164,7 +164,7 @@ static const struct {
>>   #ifdef DRM_FORMAT_P016
>>   	{ DRM_FORMAT_P016, 0, P010, 0x8000eb00},
>>   #endif
>> -	{ 0, 0, 0, 0 }
>> +	{ 0, 0, SKIP4, 0 }
> Remove this entry, and make the loop
> for (i = 0; i < ARRAY_SIZE(fillers); i++) { }
> 
> if (i == ARRAY_SIZE(fillers))
> return false;
> 
> ?
> 
> This should prevent it from ever being a problem in the first place.
> 

I was thinking this at first too but that 'skip4' flag is used to skip 
CRC checking at later time. This test runs in two levels, at first try 
to enable plane format and then do CRC. This last element is for the 
case where plane format was not hardcoded here.

I did have another look at this test and made another patch which also 
relax CRC checking so this test will pass on our modern HW, I got idea 
from Ville's usage of gamma on kms_plane. I'll put it on the list in a 
minute.

/Juha-Pekka
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2018-11-05 11:24 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-03 11:28 [igt-dev] [PATCH i-g-t] tests/kms_available_modes_crc: Fix handling of unknown single plane modes Juha-Pekka Heikkila
2018-11-03 12:09 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-11-03 13:00 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2018-11-03 14:28 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2018-11-03 15:18 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-11-05  9:54 ` [igt-dev] [PATCH i-g-t] " Maarten Lankhorst
2018-11-05 11:24   ` Juha-Pekka Heikkila [this message]
2018-11-05 12:42     ` Maarten Lankhorst
2018-11-05 13:29       ` Juha-Pekka Heikkila
2018-11-05 11:32 ` [igt-dev] [PATCH i-g-t] tests/kms_available_modes_crc: Fix handling of test comparisons Juha-Pekka Heikkila
2018-11-05 12:19   ` Maarten Lankhorst
2018-12-13 11:16   ` Juha-Pekka Heikkila
2018-12-14 13:01     ` Juha-Pekka Heikkila
2018-12-18 14:40       ` Juha-Pekka Heikkila
2018-12-19 13:41         ` Juha-Pekka Heikkila
2019-01-23 19:40           ` Dhinakaran Pandiyan
2019-01-23 19:41           ` Dhinakaran Pandiyan
2019-01-23 19:42           ` Dhinakaran Pandiyan
2019-01-23 19:50           ` Pandiyan, Dhinakaran
2019-01-29 14:01             ` Juha-Pekka Heikkila
2018-11-05 12:10 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev2) Patchwork
2018-11-08 11:51 ` Patchwork
2018-11-08 12:48 ` Patchwork
2018-11-08 12:51 ` Patchwork
2018-11-08 12:57 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2018-11-08 20:15 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-11-09  6:44 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2018-11-09 12:53 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-12-13 11:56 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev3) Patchwork
2018-12-13 13:22 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2018-12-13 14:37 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev4) Patchwork
2018-12-13 18:32 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev5) Patchwork
2018-12-13 18:45 ` [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev4) Patchwork
2018-12-13 18:47 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev6) Patchwork
2018-12-13 22:27 ` [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev5) Patchwork
2018-12-13 23:16 ` [igt-dev] ✓ Fi.CI.IGT: success for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev6) Patchwork
2018-12-14 13:25 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev7) Patchwork
2018-12-14 15:12 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-12-18 14:58 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev8) Patchwork
2018-12-18 20:38 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2018-12-19 14:04 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_available_modes_crc: Fix handling of unknown single plane modes (rev9) Patchwork
2018-12-19 15:05 ` [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=7ca65f30-2b78-fb69-065e-da47ae9fc4b6@gmail.com \
    --to=juhapekka.heikkila@gmail.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=maarten.lankhorst@linux.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