From: Magnus Damm Subject: Re: [RFC 2.6.28 1/2] fbdev: add damage support Date: Fri, 30 Jan 2009 20:01:42 +0900 Message-ID: References: <12328857453626-git-send-email-jayakumar.lkml@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.124] helo=mx.sourceforge.net) by 335xhf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1LSr86-0002mu-KE for linux-fbdev-devel@lists.sourceforge.net; Fri, 30 Jan 2009 11:01:46 +0000 Received: from fg-out-1718.google.com ([72.14.220.156]) by 1b2kzd1.ch3.sourceforge.com with esmtp (Exim 4.69) id 1LSr84-0002qY-HI for linux-fbdev-devel@lists.sourceforge.net; Fri, 30 Jan 2009 11:01:46 +0000 Received: by fg-out-1718.google.com with SMTP id 16so293058fgg.32 for ; Fri, 30 Jan 2009 03:01:42 -0800 (PST) In-Reply-To: <12328857453626-git-send-email-jayakumar.lkml@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: Jaya Kumar Cc: linux-fbdev-devel@lists.sourceforge.net, adaplas@gmail.com, armbru@redhat.com, lethal@linux-sh.org, Geert Uytterhoeven On Sun, Jan 25, 2009 at 9:15 PM, Jaya Kumar wrote: > This is version 2 of an idea about allowing userspace to provide damage > information to drivers. Thanks to Magnus, Tomi, and others for discussion > and ideas. ... > This patch adds the ability for userspace applications to provide damage > information to the underlying driver. This is useful in scenarios where the > underlying driver can perform transfer optimizations based on knowing > exactly which framebuffer areas that were updated. This functionality is > exposed by using a simple x,y,w,h bounding box structure. Userspace is > expected to perform its damage and then perform the ioctl. The underlying > driver is free to use this information as it sees fit including ignoring it > if it chooses to. An example use case will be provided in the case of > broadsheetfb.c where the damage information is aggregated for deferred use. > > Cc: Geert Uytterhoeven > Cc: Krzysztof Helt > Cc: Magnus Damm > Cc: Tomi Valkeinen > Cc: armbru@redhat.com > Cc: lethal@linux-sh.org > Cc: adaplas@gmail.com > Cc: linux-fbdev-devel@lists.sourceforge.net > Signed-off-by: Jaya Kumar Looking good except that the patch doesn't apply on new kernels. Acked-by: Magnus Damm ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword