From: Kenneth Graunke <kenneth@whitecape.org>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org,
"libva@lists.freedesktop.org" <libva@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915: Make sample_c messages go faster on Haswell.
Date: Mon, 05 Jan 2015 13:39:36 -0800 [thread overview]
Message-ID: <1706304.meRp8Voxv8@vakarian> (raw)
In-Reply-To: <20150105131915.GW2711@phenom.ffwll.local>
[-- Attachment #1.1: Type: text/plain, Size: 2309 bytes --]
On Monday, January 05, 2015 02:19:15 PM Daniel Vetter wrote:
> On Wed, Dec 31, 2014 at 04:23:00PM -0800, Kenneth Graunke wrote:
> > Haswell significantly improved the performance of sampler_c messages,
> > but the optimization appears to be off by default. Later platforms
> > remove this bit, and apparently always enable the optimization.
> >
> > Improves performance in "Counter Strike: Global Offensive" by 18%
> > at default settings on Iris Pro.
> >
> > This may break sampling of paletted formats (P8/A8P8/P8A8). It's
> > unclear whether it affects sampling of paletted formats in general,
> > or just the sample_c message (which is never used).
> >
> > While libva does have support for using paletted formats (primarily
> > for OSDs), that support appears to have been broken for at least a
> > year, so I couldn't observe a regression from this.
> >
> > Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
> > ---
> > drivers/gpu/drm/i915/i915_reg.h | 1 +
> > drivers/gpu/drm/i915/intel_pm.c | 4 ++++
> > 2 files changed, 5 insertions(+)
> >
> > Resubmitting the patch to unconditionally enable this. I tried to get
> > libva-intel to use paletted formats, and observe a regression...but the
> > only thing I found that used it was mplayer's OSD (on screen display).
> > Even without my patch, the colors were totally wrong with that, and it's
> > according to a few distro wikis, that's been the case for over a year.
> >
> > If libva's code for paletted formats /is/ broken, they could always add
> > code to disable this bit using the command validator when fixing it.
> >
> > Could we try merging this, and back it out if someone reports a
> > regression? I haven't observed any problems. It's also been quite
> > stable.
>
> Yeah makes sense. When resending please incorporated review feedback
> (Ville dug out the wa name), I've done that. And I've pasted the
> additional detail about the libva saga, just for reference (since no one
> will remember that it's mplayer's OSD which uses this 2 months down the
> road).
>
> Also please cc libva mailing lists next time around as an fyi. Done that
> too.
>
> Queued for -next, thanks for the patch.
> -Daniel
Oh, sorry, I missed that in the review.
Thanks, Daniel!
--Ken
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2015-01-05 21:39 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-01 0:23 [PATCH] drm/i915: Make sample_c messages go faster on Haswell Kenneth Graunke
2015-01-05 0:48 ` shuang.he
2015-01-05 13:19 ` Daniel Vetter
2015-01-05 21:39 ` Kenneth Graunke [this message]
2015-01-06 5:11 ` Xiang, Haihao
2015-01-06 5:54 ` Kenneth Graunke
2015-01-06 6:39 ` Xiang, Haihao
2015-01-06 7:00 ` [Intel-gfx] " Xiang, Haihao
2015-01-06 7:03 ` Kenneth Graunke
2015-01-06 7:15 ` [Intel-gfx] " Xiang, Haihao
2015-01-06 8:08 ` Daniel Vetter
-- strict thread matches above, loose matches on Subject: below --
2014-10-29 22:12 Kenneth Graunke
2014-10-30 8:50 ` Ville Syrjälä
2014-10-30 9:00 ` Ville Syrjälä
2014-10-30 9:32 ` Kenneth Graunke
2014-10-30 11:01 ` Ville Syrjälä
2014-10-30 17:32 ` Kenneth Graunke
2014-10-30 19:26 ` Ville Syrjälä
2014-10-30 19:57 ` Kenneth Graunke
2014-10-31 9:27 ` Ville Syrjälä
2014-10-31 9:43 ` Jani Nikula
2014-11-03 12:48 ` Daniel Vetter
2014-11-03 16:15 ` Dave Gordon
2014-11-07 18:46 ` Matt Turner
2014-11-11 10:16 ` Daniel Vetter
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=1706304.meRp8Voxv8@vakarian \
--to=kenneth@whitecape.org \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=libva@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