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: 1497861 Return-Path: X-Original-To: patchwork-linux-omap@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 AE45740CDB for ; Mon, 24 Sep 2012 13:59:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755632Ab2IXN7O (ORCPT ); Mon, 24 Sep 2012 09:59:14 -0400 Received: from na3sys009aog114.obsmtp.com ([74.125.149.211]:47511 "EHLO na3sys009aog114.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755606Ab2IXN7F (ORCPT ); Mon, 24 Sep 2012 09:59:05 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]) (using TLSv1) by na3sys009aob114.postini.com ([74.125.148.12]) with SMTP ID DSNKUGBnJdhVKDrIIqyPTk7cyNBz0BtEBJN/@postini.com; Mon, 24 Sep 2012 06:59:05 PDT Received: by lbbgj3 with SMTP id gj3so6750328lbb.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=BBSDebjTZ1P65V03SNDK4gP/c1YE3b5v/LOfgXCv9hc4mv/SsYF9eATMhUpUdP8fbM fO5I/3muiM7BHKTDJhvescJfx9V/hmj3PuH13nS2tMPhBo+zUeF2HcShK+puS3+LLg26 LqJU5+MLGepC6r5HdjplBs8FXIGhoxcPNWcAsNlc0ZLf23OtAUBjh7p7o3jyAUBoyAW+ 6ABS7ufJSXYgUuCzEs3jhzrScby6inkqkEOFhR41C/A4JfLHxZdyoaUHoNfUtCUidkEi zyBtYZJMRPLBU9f7aIB/GgPcFBclQmYde9uj9bcyHKfnoMUEEY9dzPsRhNXFF6MdxPEi lG3Q== 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: ALoCoQk5P42q5ud17OuMF0o0nA7AyjidpdD6PHMAIlnUog32DDF2TZUfIaWMUvROCf6K0IlUSVjI Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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;