From: "Xiang, Haihao" <haihao.xiang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Kenneth Graunke <kenneth-xkhwgxqQjnbNLxjTenLetw@public.gmane.org>
Cc: intel-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
"libva-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<libva-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [Intel-gfx] [PATCH] drm/i915: Make sample_c messages go faster on Haswell.
Date: Tue, 06 Jan 2015 15:00:12 +0800 [thread overview]
Message-ID: <1420527612.2355.82.camel@xhh-u64> (raw)
In-Reply-To: <1420526376.2355.77.camel@xhh-u64>
On Tue, 2015-01-06 at 14:39 +0800, Xiang, Haihao wrote:
> On Mon, 2015-01-05 at 21:54 -0800, Kenneth Graunke wrote:
> > On Tuesday, January 06, 2015 01:11:53 PM Xiang, Haihao wrote:
> > >
> > > Hi Kenneth,
> > >
> > > How did you test OSD ? I can't reproduce the issue you mentioned, OSD
> > > works well for me when using mplayer-vaapi with the latest
> > > libva/libva-intel-driver master branch.
> > >
> > > I tried your patch, what surprised me is OSD still works well after
> > > applying your patch. It seems your patch didn't disable the palette.
> > >
> > > Thanks
> > > Haihao
> >
> > I ran:
> >
> > mplayer -osdlevel 3 -vo vaapi big_buck_bunny_720p_stereo.ogg
> >
> > For me, the OSD text is solid green, with hard edges.
>
> The OSD text is white for me when using mplayer -osdlevel 3 -vo vaapi
> xxx. If possible, could you update your mplayer ?
>
> >
> > If you use "-vo gl" or "-vo xv", the OSD is solid white text with a black
> > border around it. I presume that it's supposed to be white with vaapi as
> > well, but I guess I'm not entirely sure.
> >
> > It's possible that the optimization doesn't affect the palette as long as
> > you never use sample_c with the paletted textures.
>
>
> I verified the palette takes effect in the following way:
>
> 1. Only support P8A8 format in the driver
>
> 2. ran the above command and I saw white OSD text
>
> 3. Only support P4A4 format in the driver and don't use
> 3DSTATE_SAMPLER_PALETTE_LOAD0 to load the value to the texture palette,
> so the palette keeps unchanged.
>
> 4. ran the above command and I saw black OSD text.
>
> 5. Load the right value to the texture palette and ran the above command
> again, I saw white OSD text.
>
> Hence I think sample_c with the paletted textures is used in the driver.
Sorry, libva driver doesn't use sample_c message, I mean the paletted
texture is used. However corroding to the doc, Palette is disabled for
fast mode.
>
> >
> > --Ken
>
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Libva mailing list
Libva@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libva
next prev parent reply other threads:[~2015-01-06 7:00 UTC|newest]
Thread overview: 12+ 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
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 ` Xiang, Haihao [this message]
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 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-11-03 12:48 ` Daniel Vetter
[not found] ` <CAKMK7uH7-ar7OB2sdZ0phoZJ6j8-660Nr_c5CyiZRqTfgtMGHQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-04 8:48 ` [Intel-gfx] " Xiang, Haihao
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=1420527612.2355.82.camel@xhh-u64 \
--to=haihao.xiang-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=intel-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=kenneth-xkhwgxqQjnbNLxjTenLetw@public.gmane.org \
--cc=libva-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.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.