Re: [PATCHv2 0/4] LS1021A: Add dcfb framebuffer driver support.

From: Tomi Valkeinen
Date: Thu Dec 04 2014 - 05:00:07 EST


On 04/12/14 11:54, Li.Xiubo@xxxxxxxxxxxxx wrote:
> Hi Tomi,
>
> Thanks for your information very much.
>
>>> Sorry for confusing, it was delayed for other reasons internal.
>>>
>>> I am not familiar about the DRM, and I'd like to know if the DRM driver will
>> be
>>> support, should I also develop the libdrm too ? Or just coding in kernel
>> level ?
>>
>> For simple drm drivers (this looks like it would be a simple one), I
>> don't think there's any need for libdrm support. The generic DRM
>> interfaces should be enough, so just kernel level coding needed.
>>
>
> That's to say, if I am using the X11 server without any code in usrspace,
> If the DRM driver will support /dev/fbX, it could work correctly ?

Yes. DRM offers helper code to add /dev/fbX with not too many lines. You
can look at the docs and drm_fb_helper.c.

And X11 should work fine on top of that, using the X11 fbdev support.

Tomi


Attachment: signature.asc
Description: OpenPGP digital signature