From patchwork Tue Mar 5 04:44:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 2217271 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id E6AACDFABD for ; Tue, 5 Mar 2013 04:44:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932851Ab3CEEom (ORCPT ); Mon, 4 Mar 2013 23:44:42 -0500 Received: from mail-pb0-f45.google.com ([209.85.160.45]:35222 "EHLO mail-pb0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932566Ab3CEEol (ORCPT ); Mon, 4 Mar 2013 23:44:41 -0500 Received: by mail-pb0-f45.google.com with SMTP id ro8so3875297pbb.32 for ; Mon, 04 Mar 2013 20:44:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:sender:message-id:from:to:cc:subject:mime-version :content-type; bh=Txm4406fYKzTZepU8Z2r0NFeVDrtBSpWwFwPFzRDkEc=; b=w60InzvWb4N8nGhISpOCVPBZGvzH7izl4GDZ3pzKyfCTLulJwEnJywczVuSRrfC+gT QeC6+QV22s6LgCzDv0aBJFhr7q0i+OolbfkJQSgwdZ1GLO2EA/h/kfn6eCetHx98ygSJ IpJ+V3QwneZSgQzkDWnmfsRfpLZkv3RxqaomnshXdHvXWVNoLyInKtr7tG1AFoZi/UGr U2Z5in37Mxk1bzeE4OmW5vVH7Hk7WFFOwIoZVFEZxhXdqDZkDvM58l5OfZsiowCQG+DS pOvfLKELjzmFrIbzZVutmwIoiBSvBx/I2RT6A0P7L0Q7Rrd01xU3e4aGh+QjtqFI/mhk EZDQ== X-Received: by 10.68.117.104 with SMTP id kd8mr34451315pbb.1.1362458680469; Mon, 04 Mar 2013 20:44:40 -0800 (PST) Received: from morimoto-Dell-XPS420.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPS id 4sm11957607pbn.23.2013.03.04.20.44.37 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 04 Mar 2013 20:44:39 -0800 (PST) Date: Mon, 04 Mar 2013 20:44:39 -0800 (PST) Message-ID: <87wqtmmp59.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Laurent Cc: Osamu Fukushima , Linux-fbdev , Linux-SH , Kuninori Morimoto , (RSO) sano Subject: [PATCH] fbdev: sh_mobile_lcdc: fixup B side hsync adjust settings MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org The lcdc B side horizon output is shifted if sh_mobile_lcdc_pan() was called, since driver didn't care LDHAJR mirror. This patch fixup this issue Reported-by: Osamu Fukushima Signed-off-by: Hideyuki Sano Signed-off-by: Kuninori Morimoto --- drivers/video/sh_mobile_lcdcfb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index 63203ac..0264704 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c @@ -858,6 +858,7 @@ static void sh_mobile_lcdc_geometry(struct sh_mobile_lcdc_chan *ch) tmp = ((mode->xres & 7) << 24) | ((display_h_total & 7) << 16) | ((mode->hsync_len & 7) << 8) | (hsync_pos & 7); lcdc_write_chan(ch, LDHAJR, tmp); + lcdc_write_chan_mirror(ch, LDHAJR, tmp); } static void sh_mobile_lcdc_overlay_setup(struct sh_mobile_lcdc_overlay *ovl)