[PATCH 1/2] fbdev: sh_mobile_lcdc: Add YUV input support
Alan Cox
alan at lxorguk.ukuu.org.uk
Wed Mar 2 03:27:52 PST 2011
On Tue, 1 Mar 2011 13:31:19 -0800
Corbin Simpson <mostawesomedude at gmail.com> wrote:
> I am slightly curious about this as well; I have a device with only YUV
> scanout and was considering KMS, but don't know what the best approach is.
The problem with hiding behind a fake RGB frame buffer is you've then
completely stuffed any framebuffer based apps that could use YUV happily
(eg framebuffer video playback).
Far better to make the kernel tell the truth in these cases. You'll need
to add some tweaks to the fb code for it and a YUV boot penguin.[1]
If you want to run X on it then you can use shadowfb on the X side to do
your YUV/RGB adaptation.
Alan
--
[1] Am I the only one who thinks the fb code also needs an imagine of an
embarassed penguin that has wet itself to go with oops output ?
More information about the dri-devel
mailing list