Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: igt-dev@lists.freedesktop.org,
	Paul Kocialkowski <paul.kocialkowski@bootlin.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	eben@raspberrypi.org
Subject: Re: [igt-dev] [PATCH v3 03/11] fb: Add format conversion routine
Date: Thu, 24 May 2018 18:40:36 +0300	[thread overview]
Message-ID: <20180524154036.GV23723@intel.com> (raw)
In-Reply-To: <20180524151904.6ixjbows5m2id7y4@flea>

On Thu, May 24, 2018 at 05:19:04PM +0200, Maxime Ripard wrote:
> On Thu, May 24, 2018 at 05:58:13PM +0300, Ville Syrjälä wrote:
> > On Thu, May 24, 2018 at 04:24:42PM +0200, Maxime Ripard wrote:
> > > The chamelium format subtests will need to convert the reference pattern to
> > > the format to be tested on the DRM device.
> > > 
> > > However, Cairo is very limited when it comes to format, and while pixman
> > > has much more support for formats, it's still falling short compared to
> > > what DRM exposes, especially on the YUV side.
> > 
> > We already have the capability to do format conversions automagically.
> > I'm extending it to handle more YUV stuff here:
> > https://patchwork.freedesktop.org/series/43651/
> > 
> > Can you hook up the pixman stuff in the same way so that we don't
> > have to any explicit conversion stuff in the tests themselves?
> 
> I really think that the assumption that cairo will handle it is not a
> proper fit. Cairo support is very limited, just like pixman is to a
> lesser extent, and we should just break the assumption that we will
> get a cairo surface all the time.

Not sure what you're saying here. We don't assume cairo handles all
the formats, well, because it doesn't. We just magically convert
to/from XRGB888 so that cairo doesn't have to handle anything else.

-- 
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-24 14:24 [igt-dev] [PATCH v3 00/11] chamelium: Test the plane formats Maxime Ripard
2018-05-24 14:24 ` [igt-dev] [PATCH v3 01/11] tests: Add vc4 test suite Maxime Ripard
2018-06-04 22:20   ` Eric Anholt
2018-05-24 14:24 ` [igt-dev] [PATCH v3 02/11] fb: Add buffer map/unmap functions Maxime Ripard
2018-05-24 14:24 ` [igt-dev] [PATCH v3 03/11] fb: Add format conversion routine Maxime Ripard
2018-05-24 14:58   ` Ville Syrjälä
2018-05-24 15:19     ` Maxime Ripard
2018-05-24 15:40       ` Ville Syrjälä [this message]
2018-06-04  9:54         ` Maxime Ripard
2018-06-04 10:13           ` Ville Syrjälä
2018-06-14 14:53             ` Maxime Ripard
2018-06-14 15:13               ` Ville Syrjälä
2018-05-24 14:24 ` [igt-dev] [PATCH v3 04/11] fb: Add more formats Maxime Ripard
2018-05-24 14:24 ` [igt-dev] [PATCH v3 05/11] chamelium: Split CRC test function in two Maxime Ripard
2018-05-24 14:24 ` [igt-dev] [PATCH v3 06/11] chamelium: Use preferred mode when testing a single mode Maxime Ripard
2018-05-24 14:24 ` [igt-dev] [PATCH v3 07/11] chamelium: Add function to generate our test pattern Maxime Ripard
2018-05-24 14:24 ` [igt-dev] [PATCH v3 08/11] chamelium: Change our pattern for a custom one Maxime Ripard
2018-05-24 14:24 ` [igt-dev] [PATCH v3 09/11] chamelium: Add format support Maxime Ripard
2018-05-24 14:24 ` [igt-dev] [PATCH v3 10/11] chamelium: Add format subtests Maxime Ripard
2018-05-24 14:24 ` [igt-dev] [PATCH v3 11/11] tests: Add chamelium formats subtests to vc4 test lists Maxime Ripard
2018-05-24 17:39 ` [igt-dev] ✗ Fi.CI.BAT: failure for chamelium: Test the plane formats (rev2) 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=20180524154036.GV23723@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=eben@raspberrypi.org \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=maxime.ripard@bootlin.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox