From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [RFC] drm: add overlays as first class KMS objects Date: Wed, 27 Apr 2011 15:34:42 +0100 Message-ID: References: <20110425151220.2f5dc17a@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id CEBFD9E78A for ; Wed, 27 Apr 2011 07:34:45 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Daniel Vetter , Jerome Glisse Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, 27 Apr 2011 16:27:55 +0200, Daniel Vetter wrote: > On Wed, Apr 27, 2011 at 3:32 PM, Jerome Glisse wrote: > > On Wed, Apr 27, 2011 at 8:19 AM, Daniel Vetter 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