Re: [PATCH 09/10] MCDE: Add build files and bus

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Vetter
Date: Sunday, December 5, 2010 - 4:28 am

On Sat, Dec 04, 2010 at 04:34:22PM -0500, Alex Deucher wrote:

Just fyi about a generic overlay api: I've looked a bit into this when
doing the intel overlay support and I think adding special overlay crtcs
that can be attached real crtcs gives a nice clean api. We could the reuse
the existing framebuffer/pageflipping api to get the buffers to the
overlay engine.

The real pain starts when we want format discovery from userspace with all
the alignement/size/layout constrains. Add in tiling support and its
almost impossible to do in a generic way. But also for kms userspace needs
to know these constrains (implemented for generic use in libkms). I favor
such an approach for overlays, too (if it ever happens) - i.e. a few
helpers in libkms that allocate an appropriate buffer for a given format
and size and returns the buffer, strides and offsets for the different
planes.

-Daniel
-- 
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 09/10] MCDE: Add build files and bus, Arnd Bergmann, (Fri Nov 26, 4:24 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Linus Walleij, (Tue Nov 30, 7:18 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Arnd Bergmann, (Tue Nov 30, 8:21 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Greg KH, (Tue Nov 30, 9:24 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Russell King - ARM Linux, (Tue Nov 30, 11:40 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Greg KH, (Tue Nov 30, 11:48 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Russell King - ARM Linux, (Tue Nov 30, 3:05 pm)
Re: [PATCH 09/10] MCDE: Add build files and bus, Greg KH, (Tue Nov 30, 4:05 pm)
Re: [PATCH 09/10] MCDE: Add build files and bus, Russell King - ARM Linux, (Tue Nov 30, 4:42 pm)
Re: [PATCH 09/10] MCDE: Add build files and bus, Greg KH, (Tue Nov 30, 4:49 pm)
Re: [PATCH 09/10] MCDE: Add build files and bus, Peter Stuge, (Wed Dec 1, 5:53 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Russell King - ARM Linux, (Wed Dec 1, 6:02 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Arnd Bergmann, (Wed Dec 1, 8:39 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Dave Airlie, (Fri Dec 3, 11:52 pm)
Re: [PATCH 09/10] MCDE: Add build files and bus, Alex Deucher, (Sat Dec 4, 2:34 pm)
Re: [PATCH 09/10] MCDE: Add build files and bus, Daniel Vetter, (Sun Dec 5, 4:28 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Marcus Lorentzon, (Thu Dec 16, 11:26 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Arnd Bergmann, (Fri Dec 17, 4:22 am)
Re: [PATCH 09/10] MCDE: Add build files and bus, Marcus Lorentzon, (Fri Dec 17, 5:02 am)