[RFC] drm: add overlays as first class KMS objects

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 27 07:34:42 PDT 2011


On Wed, 27 Apr 2011 16:27:55 +0200, Daniel Vetter <daniel at ffwll.ch> wrote:
> On Wed, Apr 27, 2011 at 3:32 PM, Jerome Glisse <j.glisse at gmail.com> wrote:
> > On Wed, Apr 27, 2011 at 8:19 AM, Daniel Vetter <daniel at ffwll.ch> wrote:
> >> float scale_x, scale_y;
> >
> > No float in kernel. Would have to use fixed point.
> 
> Bleh, of course ;-) 32bit with a 16 bit shift should be good enough
> for all scaling needs

Or just specify the source size. You already know the output size...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list