Re: Proposal for a low-level Linux display framework

2011-09-17 Thread Florian Tobias Schandinat
ays around it, you can forbid mapping (though probably most userspace wouldn't like it, I guess) or use any other solution like defio. If you'd stop exposing the fbdev userspace interface it'd just harden my opinion that KMS is a piece of trash and that I should avoid hardware

Re: Proposal for a low-level Linux display framework

2011-09-17 Thread Florian Tobias Schandinat
s it's just a >> disadvantage for your end users, but I personally do not really care. > > We've fixed this in KMS, we don't pass direct mappings to userspace > that we can't tear down and refault. We only provide objects via > handles. The only place its a problem is w

Re: Proposal for a low-level Linux display framework

2011-09-17 Thread Florian Tobias Schandinat
b is no legacy interface but actively developed, just with other goals than DRM/KMS is, it aims for stability and to provide a direct interface, not needing any X or wayland crap. Best regards, Florian Tobias Schandinat ___ linaro-dev mailing list lina

Re: Proposal for a low-level Linux display framework

2011-09-15 Thread Florian Tobias Schandinat
e those instead of direct memory access in the cfb* implementation if screen_base is NULL. Does not sound like a big problem to me, but pretty inefficient, so probably copying the existing ones and adjusting it to your needs would be preferred (j

Re: Proposal for a low-level Linux display framework

2011-09-15 Thread Florian Tobias Schandinat
;s a really difficult question. Determining the users is difficult and there are people that use their hardware very long, for example we are about to get a new driver for i740. For the framebuffer infrastructure I guess you have to at least wait for my death. Regards, Florian Tobias Schandinat ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Re: Proposal for a low-level Linux display framework

2011-09-15 Thread Florian Tobias Schandinat
On 09/15/2011 05:52 PM, Alex Deucher wrote: > On Thu, Sep 15, 2011 at 1:12 PM, Florian Tobias Schandinat > wrote: >> On 09/15/2011 03:50 PM, Keith Packard wrote: >>> On Thu, 15 Sep 2011 18:29:54 +0300, Tomi Valkeinen >>> wrote: >>> >>>> 1) It&#

Re: Proposal for a low-level Linux display framework

2011-09-15 Thread Florian Tobias Schandinat
ed of) Sounds to me like you should implement your own fb_mmap and either map it contigous to screen_base or implement your own fb_read/write. In theory you could even have each pixel at a completely different memory location although some userspace wouldn't be happy when it could no

Re: Proposal for a low-level Linux display framework

2011-09-15 Thread Florian Tobias Schandinat
diverge. At least I'll never accept any change to the fb infrastructure that requires DRM. Regards, Florian Tobias Schandinat ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev