All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [HAX 3/5] lib/igt_fb: Use rendercopy for rendering into compressed buffers
Date: Fri, 22 Feb 2019 20:54:59 +0200	[thread overview]
Message-ID: <20190222185459.GW20097@intel.com> (raw)
In-Reply-To: <41125337f58a000e0bfa3c1ed842c3a871cf117b.camel@intel.com>

On Fri, Feb 22, 2019 at 10:37:40AM -0800, Dhinakaran Pandiyan wrote:
> On Fri, 2019-02-22 at 19:26 +0200, Ville Syrjälä wrote:
> > On Thu, Feb 21, 2019 at 03:20:35PM -0800, Dhinakaran Pandiyan wrote:
> > > On Thu, 2019-02-21 at 16:06 +0200, Ville Syrjälä wrote:
> > > > On Wed, Feb 20, 2019 at 06:41:21PM -0800, Dhinakaran Pandiyan
> > > > wrote:
> > > > > @@ -2397,8 +2523,10 @@ cairo_surface_t
> > > > > *igt_get_cairo_surface(int
> > > > > fd, struct igt_fb *fb)
> > > > >                ((f->cairo_id == CAIRO_FORMAT_INVALID) &&
> > > > >                 (f->pixman_id != PIXMAN_invalid)))
> > > > >                    create_cairo_surface__convert(fd, fb);
> > > 
> > > All BGR formats will take this path and it somehow results in Yf-
> > > CCS
> > > tests specifically failing.
> > 
> > Hmm. Should be a matter of 
> > 
> >  if (...
> > +    is_ccs) {
> >         setup_linear_mapping();
> >  } else {
> >         ...
> > 
> > no? Or was that already in there?
> > 
> > It is slightly suboptimal since in theory we could just use 
> > rendercopy to do the full conversion for us, skipping the expensive
> > software step. IIRC I briefly mentioned this option when Maarten
> > was adding the !32bpp support to rendercopy. Anyways, we could
> > consider doing that in the future if we are willing to expand
> > our use of rendercopy. The counter argument is that it's one
> > more extra thing that could fail.
> 
> Didn't quite get why rendercopy would have a higher chance of failing.
> Personally, the problem I have is I don't fully understand the
> rendercopy code yet :) And, I am not sure how easy it is to extend
> support for new platforms from a display IGT development point of view.

It all depends how much the hw people feel the need to change. Hopefully
not too much, and that someone has the energy to find out which new
magic bits are needed to make it work.

Also if the GT side is having major issues we can't rely on rendercopy
obviously. Just one more thing to worry about, at least during early
testing/development.

> I guess the library is not backward compatible either.

In what sense?

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

  reply	other threads:[~2019-02-22 18:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-21  2:41 [igt-dev] [HAX 1/5] lib/rendercopy: Add support for Yf/Ys tiling to gen9 rendercopy Dhinakaran Pandiyan
2019-02-21  2:41 ` [igt-dev] [HAX 2/5] tests/gem_render_copy: Test Yf tiling Dhinakaran Pandiyan
2019-02-21  2:41 ` [igt-dev] [HAX 3/5] lib/igt_fb: Use rendercopy for rendering into compressed buffers Dhinakaran Pandiyan
2019-02-21 13:58   ` Ville Syrjälä
2019-02-21 14:06   ` Ville Syrjälä
2019-02-21 23:20     ` Dhinakaran Pandiyan
2019-02-22 17:12       ` Ville Syrjälä
2019-02-22 17:26       ` Ville Syrjälä
2019-02-22 17:29         ` Pandiyan, Dhinakaran
2019-02-22 18:37         ` Dhinakaran Pandiyan
2019-02-22 18:54           ` Ville Syrjälä [this message]
2019-02-22 19:12             ` Pandiyan, Dhinakaran
2019-02-22 19:34               ` Ville Syrjälä
2019-02-23  2:16                 ` Dhinakaran Pandiyan
2019-02-21  2:41 ` [igt-dev] [HAX 4/5] lib/igt_fb: s/tiling/modifier/ where appropriate Dhinakaran Pandiyan
2019-02-21  2:41 ` [igt-dev] [HAX 5/5] tests/kms_ccs: Generate compressed surfaces with renderopy Dhinakaran Pandiyan
2019-02-21 10:41 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [HAX,1/5] lib/rendercopy: Add support for Yf/Ys tiling to gen9 rendercopy Patchwork
2019-02-21 15:46 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-02-21 18:25 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [HAX,1/5] lib/rendercopy: Add support for Yf/Ys tiling to gen9 rendercopy (rev2) Patchwork
2019-02-22  7:44 ` [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=20190222185459.GW20097@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=dhinakaran.pandiyan@intel.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 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.