[PATCH] Add support for 18bpp
Marek Vasut
marek.vasut at gmail.com
Fri Jul 30 12:29:45 PDT 2010
Dne Pá 30. července 2010 16:39:22 Adam Jackson napsal(a):
> On Fri, 2010-07-30 at 10:13 +0200, Marek Vasut wrote:
> > This is useful on PXA framebuffer.
> >
> > Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> > ---
> >
> > hw/xfree86/common/xf86Helper.c | 3 +++
> > 1 files changed, 3 insertions(+), 0 deletions(-)
> >
> > diff --git a/hw/xfree86/common/xf86Helper.c
> > b/hw/xfree86/common/xf86Helper.c index 07f9f0a..724c1a1 100644
> > --- a/hw/xfree86/common/xf86Helper.c
> > +++ b/hw/xfree86/common/xf86Helper.c
> > @@ -776,6 +776,9 @@ xf86SetWeight(ScrnInfoPtr scrp, rgb weight, rgb mask)
> >
> > scrp->weight.red = scrp->weight.blue = 5;
> > scrp->weight.green = 6;
> > break;
> >
> > + case 18:
> > + scrp->weight.red = scrp->weight.green = scrp->weight.blue = 6;
> > + break;
> >
> > case 24:
> > scrp->weight.red = scrp->weight.green = scrp->weight.blue = 8;
> > break;
>
> Technically I think I wrote this, but it's trivial, so whatever.
>
> Reviewed-by: Adam Jackson <ajax at redhat.com>
>
> - ajax
Please put your credit there instead. I do not intend to snatch it from you
(sorry if I did).
More information about the xorg-devel
mailing list