From patchwork Mon Sep 24 13:58:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 1497831 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 305AC3FC71 for ; Mon, 24 Sep 2012 13:59:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755623Ab2IXN7H (ORCPT ); Mon, 24 Sep 2012 09:59:07 -0400 Received: from na3sys009aog119.obsmtp.com ([74.125.149.246]:57851 "EHLO na3sys009aog119.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755470Ab2IXN7A (ORCPT ); Mon, 24 Sep 2012 09:59:00 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]) (using TLSv1) by na3sys009aob119.postini.com ([74.125.148.12]) with SMTP ID DSNKUGBnIwV6z0p7aTZxojQZhG4lA4J1t0Ey@postini.com; Mon, 24 Sep 2012 06:59:00 PDT Received: by lbbgj3 with SMTP id gj3so6750329lbb.19 for ; Mon, 24 Sep 2012 06:58:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=vpsNwNbZlXwI/r/aG2CuafBXYvaUlWM99QD7zeIwhKs=; b=V0U0RXF/H4fMZutA5LR8D5TBjd52ovnrexeqtQALQiLnd0RtJ8+YiNWJT/7jr3td86 gZxV5AWcL6qyCiUIAWaYDZIHv6qptAhxocGRvB5CU8SnuZmlMKnk2KEhtfN/2xjwoltI d5eBq8LbNHX+TxfpiW7mbk4xcrrPcMPmzVpkaO9lTUTfNVAXXRxdtalgbUMxOe5LJizl mnEqGAgYMJnRQR57JC5NF08VGbfauavnexXomoyTpjvKd0Wfelokqg35giVVLzh0tzqE Yunk31Enqcz9lwCdKie6BabTyjkMN02wz9Y81cXC+UcEY8+sgUWT+fwbNGvrdCxkLjCV /k9A== Received: by 10.152.48.111 with SMTP id k15mr10520273lan.17.1348495137698; Mon, 24 Sep 2012 06:58:57 -0700 (PDT) Received: from deskari.tieu.ti.com (a91-156-160-115.elisa-laajakaista.fi. [91.156.160.115]) by mx.google.com with ESMTPS id ly17sm4364922lab.2.2012.09.24.06.58.56 (version=SSLv3 cipher=OTHER); Mon, 24 Sep 2012 06:58:57 -0700 (PDT) From: Tomi Valkeinen To: archit@ti.com, linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: Tomi Valkeinen Subject: [PATCH 7/9] OMAPDSS: DSI: Add new linebuffer size for OMAP5 Date: Mon, 24 Sep 2012 16:58:37 +0300 Message-Id: <1348495119-8262-8-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348495119-8262-1-git-send-email-tomi.valkeinen@ti.com> References: <1348495119-8262-1-git-send-email-tomi.valkeinen@ti.com> X-Gm-Message-State: ALoCoQk9n05jXthU6zzI5g8QntC5tkr/qapK2yMMSDAUfRrY5aPeymhdywReKcEEYB1C/GGRnu2f Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org OMAP5's DSI has a larger line buffer than earlier OMAPs. This patch adds support for this to the DSI driver. Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index a16c8b2..0dc24f2 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c @@ -2155,6 +2155,8 @@ static unsigned dsi_get_line_buf_size(struct platform_device *dsidev) return 1194 * 3; /* 1194x24 bits */ case 6: return 1365 * 3; /* 1365x24 bits */ + case 7: + return 1920 * 3; /* 1920x24 bits */ default: BUG(); return 0;