public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/kms_available_modes_crc: Fix handling of unknown single plane modes
Date: Sat,  3 Nov 2018 13:28:52 +0200	[thread overview]
Message-ID: <1541244532-3421-1-git-send-email-juhapekka.heikkila@gmail.com> (raw)

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 }
 };
 
 /*
@@ -232,13 +232,13 @@ static bool fill_in_fb(data_t *data, igt_output_t *output, igt_plane_t *plane,
 			writesize = data->size;
 			break;
 		}
-		igt_info("Format %s CRC comparison skipped by design.\n",
-			 (char*)&fillers[i].fourcc);
+		igt_info("Format %.4s CRC comparison skipped by design.\n",
+			 (char*)&format);
 
 		return false;
 	default:
-		igt_info("Unsupported mode for test %s\n",
-			 (char*)&fillers[i].fourcc);
+		igt_info("Unsupported mode for test %.4s\n",
+			 (char*)&format);
 		return false;
 	}
 
-- 
2.7.4

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

             reply	other threads:[~2018-11-03 11:29 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-03 11:28 Juha-Pekka Heikkila [this message]
2018-11-03 12:09 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_available_modes_crc: Fix handling of unknown single plane modes 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
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=1541244532-3421-1-git-send-email-juhapekka.heikkila@gmail.com \
    --to=juhapekka.heikkila@gmail.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