From patchwork Wed Jul 1 06:50:31 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Mundt X-Patchwork-Id: 33417 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n616ofaj019249 for ; Wed, 1 Jul 2009 06:50:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751678AbZGAGug (ORCPT ); Wed, 1 Jul 2009 02:50:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751928AbZGAGug (ORCPT ); Wed, 1 Jul 2009 02:50:36 -0400 Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:44050 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751678AbZGAGug (ORCPT ); Wed, 1 Jul 2009 02:50:36 -0400 Received: from localhost (unknown [127.0.0.1]) by master.linux-sh.org (Postfix) with ESMTP id 61E0B63754; Wed, 1 Jul 2009 06:50:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at linux-sh.org Received: from master.linux-sh.org ([127.0.0.1]) by localhost (master.linux-sh.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J29MV6nXXBq2; Wed, 1 Jul 2009 15:50:31 +0900 (JST) Received: by master.linux-sh.org (Postfix, from userid 500) id E209E63758; Wed, 1 Jul 2009 15:50:31 +0900 (JST) Date: Wed, 1 Jul 2009 15:50:31 +0900 From: Paul Mundt To: Magnus Damm Cc: linux-sh@vger.kernel.org Subject: Re: [PATCH] sh: LCDC dcache flush for deferred io Message-ID: <20090701065031.GA29429@linux-sh.org> Mail-Followup-To: Paul Mundt , Magnus Damm , linux-sh@vger.kernel.org References: <20090701050405.2252.48329.sendpatchset@rx1.opensource.se> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20090701050405.2252.48329.sendpatchset@rx1.opensource.se> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org On Wed, Jul 01, 2009 at 02:04:05PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Since writenotify on uncached vmas is unsupported in 2.6.31, > live with cached framebuffer memory in the deferred io > case for now and flush the dcache before forcing refresh. > > Signed-off-by: Magnus Damm Lets try this instead.. Acked-by: Magnus damm --- drivers/video/sh_mobile_lcdcfb.c | 53 +++++++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 8 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index f10d2fb..da983b7 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c @@ -17,6 +17,7 @@ #include #include #include +#include #include