[RFC PATCH 1/3] atmel-hlcdc: add support for 8-bit color lookup table mode

Peter Rosin peda at axentia.se
Fri Jun 16 22:25:57 UTC 2017


On 2017-06-16 23:12, Peter Rosin wrote:
> On 2017-06-16 18:15, Boris Brezillon wrote:
>> To be very clear, I'd like you to test it through DRM ioctls, not only
>> through the fbdev emulation layer.
> 
> ...so yeah, right, I couldn't agree more. Any pointers to code w/o a bunch
> of complex library dependencies that I can test with?

I have now built libdrm-2.4.81, and get this:

$ modetest -M atmel-hlcdc -s 27 at 39:1024x768
setting mode 1024x768-60Hz at XR24 on connectors 27, crtc 39
$ modetest -M atmel-hlcdc -s 27 at 39:1024x768 at RG16
setting mode 1024x768-60Hz at RG16 on connectors 27, crtc 39
$ modetest -M atmel-hlcdc -s 27 at 39:1024x768 at C8
unknown format C8
<usage>

(output on the lcd looks sane for the first two, not that I really
know exactly what to expect)

Looking at the libdrm code, I only find YUV and RGB modes in
tests/util/format.c which make me less confident that I will find
something sane to test with.

So, pointers to code to test with desperately needed...

Cheers,
peda


More information about the dri-devel mailing list