Re: My penguin has blue feets (aka: RGB versus BGR troubles)

2019-07-27 Thread Sam Ravnborg
Hi > # modetest -M atmel-lcdc -a -s ... > > does not work btw. It just exists without anything shown on the panel. Looking at the modetest src -a requires both a primary plane + an overlay. If either is missing modetest just exists with no errors printed. Another opportunity to improve error

Re: My penguin has blue feets (aka: RGB versus BGR troubles)

2019-07-27 Thread Sam Ravnborg
Hi Daniel. > > > > > > *Any* hints why modetest fails when my driver reports the correct formats? > > > > Every driver to date supports XR24. So modetest uses that by default. > > But this fails with your driver since it's an unsupported format. > > Something like: > > > > modetest -M atmel-lcdc

Re: My penguin has blue feets (aka: RGB versus BGR troubles)

2019-07-27 Thread Sam Ravnborg
Hi all. Thanks for the responses. It turns out this was a PICNIC error (Problem In Chair, Not In Computer) On Fri, Jul 26, 2019 at 10:36:26PM +0200, Sam Ravnborg wrote: > Hi all. > > The Atmel at91sam9263 has a nice LCDC IP core that supports several > formats: > DRM_FORMAT_XBGR,

Re: My penguin has blue feets (aka: RGB versus BGR troubles)

2019-07-26 Thread Daniel Vetter
On Fri, Jul 26, 2019 at 11:35 PM Ilia Mirkin wrote: > On Fri, Jul 26, 2019 at 4:36 PM Sam Ravnborg wrote: > > > > Hi all. > > > > The Atmel at91sam9263 has a nice LCDC IP core that supports several > > formats: > > DRM_FORMAT_XBGR, DRM_FORMAT_BGR888, DRM_FORMAT_BGR565 > > > > (It also

Re: My penguin has blue feets (aka: RGB versus BGR troubles)

2019-07-26 Thread Ilia Mirkin
On Fri, Jul 26, 2019 at 4:36 PM Sam Ravnborg wrote: > > Hi all. > > The Atmel at91sam9263 has a nice LCDC IP core that supports several > formats: > DRM_FORMAT_XBGR, DRM_FORMAT_BGR888, DRM_FORMAT_BGR565 > > (It also supports a palletized C8 format, but thats for later). > > The formats

My penguin has blue feets (aka: RGB versus BGR troubles)

2019-07-26 Thread Sam Ravnborg
Hi all. The Atmel at91sam9263 has a nice LCDC IP core that supports several formats: DRM_FORMAT_XBGR, DRM_FORMAT_BGR888, DRM_FORMAT_BGR565 (It also supports a palletized C8 format, but thats for later). The formats are all BGR formats - and some boards actually reverse Blue and Red when