All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@bootlin.com>
To: igt-dev@lists.freedesktop.org
Cc: eben@raspberrypi.org, Maxime Ripard <maxime.ripard@bootlin.com>,
	Paul Kocialkowski <paul.kocialkowski@bootlin.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [igt-dev] [PATCH i-g-t 04/12] fb: Add more formats
Date: Tue, 24 Apr 2018 09:46:38 +0200	[thread overview]
Message-ID: <6ffec1262d760c93811a8dd8230ac446a66068d7.1524555464.git-series.maxime.ripard@bootlin.com> (raw)
In-Reply-To: <cover.4467e4f79584ac18248b9664cbe4a81a2a610ecf.1524555464.git-series.maxime.ripard@bootlin.com>
In-Reply-To: <cover.4467e4f79584ac18248b9664cbe4a81a2a610ecf.1524555464.git-series.maxime.ripard@bootlin.com>

We're going to need some DRM formats that are not defined in the
format_desc_struct. Make sure we add them.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
---
 lib/igt_fb.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 1de6f9f6c275..c6e6b0377ae5 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -70,10 +70,14 @@ static struct format_desc_struct {
 	int planes;
 	int plane_bpp[4];
 } format_desc[] = {
+	DF(ARGB1555,	INVALID,	a1r5g5b5,	16, 16),
+	DF(XRGB1555,	INVALID,	x1r5g5b5,	16, 16),
 	DF(RGB565,	RGB16_565,	r5g6b5,		16, 16),
+	DF(BGR565,	INVALID,	b5g6r5,		16, 16),
 	//DF(RGB888,	INVALID,	r8g8b8,		24, 24),
 	DF(XRGB8888,	RGB24,		x8r8g8b8,	32, 24),
 	DF(XRGB2101010,	RGB30,		x2r10g10b10,	32, 30),
+	DF(ABGR8888,	INVALID,	a8b8g8r8,	32, 32),
 	DF(ARGB8888,	ARGB32,		a8r8g8b8,	32, 32),
 	DF(NV12,	RGB24,		invalid,	32, -1, 2, {8, 16}),
 };
-- 
git-series 0.9.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2018-04-24  7:46 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24  7:46 [igt-dev] [PATCH i-g-t 00/12] chamelium: Test the plane formats Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 01/12] tests: Add vc4 test suite Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 02/12] fb: Add buffer map/unmap functions Maxime Ripard
2018-05-14 13:27   ` Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 03/12] fb: Add format conversion routine Maxime Ripard
2018-05-14 13:41   ` Paul Kocialkowski
2018-04-24  7:46 ` Maxime Ripard [this message]
2018-05-14 13:45   ` [igt-dev] [PATCH i-g-t 04/12] fb: Add more formats Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 05/12] chamelium: Make chamelium_calculate_fb_crc private Maxime Ripard
2018-05-14 13:50   ` Paul Kocialkowski
2018-05-24  9:38     ` Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 06/12] chamelium: Split CRC test function in two Maxime Ripard
2018-05-14 13:55   ` Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 07/12] chamelium: Use preferred mode when testing a single mode Maxime Ripard
2018-05-14 14:00   ` Paul Kocialkowski
2018-05-24  9:48     ` Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 08/12] chamelium: Add function to generate our test pattern Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 09/12] chamelium: Change our pattern for a custom one Maxime Ripard
2018-05-14 14:24   ` Paul Kocialkowski
2018-05-18  7:26     ` Maxime Ripard
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 10/12] chamelium: Add format support Maxime Ripard
2018-05-14 14:41   ` Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 11/12] chamelium: Add format subtests Maxime Ripard
2018-05-14 14:46   ` Paul Kocialkowski
2018-04-24  7:46 ` [igt-dev] [PATCH i-g-t 12/12] tests: Add chamelium formats subtests to vc4 test lists Maxime Ripard
2018-04-24  8:29 ` [igt-dev] ✗ Fi.CI.BAT: failure for chamelium: Test the plane formats Patchwork
2018-04-24 10:51 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2018-04-24 12:17 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-05-14 13:17 ` [igt-dev] [PATCH i-g-t 00/12] " Maxime Ripard

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=6ffec1262d760c93811a8dd8230ac446a66068d7.1524555464.git-series.maxime.ripard@bootlin.com \
    --to=maxime.ripard@bootlin.com \
    --cc=eben@raspberrypi.org \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=paul.kocialkowski@bootlin.com \
    --cc=thomas.petazzoni@bootlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.