From patchwork Sun Sep 11 10:46:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Liu X-Patchwork-Id: 9325865 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 186846048B for ; Mon, 12 Sep 2016 07:56:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D1DB28A90 for ; Mon, 12 Sep 2016 07:56:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0194B28AC9; Mon, 12 Sep 2016 07:56:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9FC7628A90 for ; Mon, 12 Sep 2016 07:56:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B63D6E37C; Mon, 12 Sep 2016 07:56:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 785DF6E0FA for ; Sun, 11 Sep 2016 10:48:23 +0000 (UTC) Received: by mail-pf0-x243.google.com with SMTP id x24so6539971pfa.3 for ; Sun, 11 Sep 2016 03:48:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=AIW0vyVv5VUkmePTqggodFb554VMC1dfeScuCNYA9xs=; b=v1li3DuotjNsF/ySpIDJ1/sIJD+gvSl4DTCdbRsr/1T5nr2INzh1VHGmJkPiBYMH4n fVc8N87hUYG3JUSuMcps+iKJM7aqbKDc7mcMdp/EeZ4UOXhmp5sx1kC1nGEZ+EbdBWyt K9RQYZkTQVlr64f5HRM/Ec5MiiGHeE6bqcPFHeGF3Ur3/lfGUJyU+QNMPcy+hnLcSJ8Y a1y4Iw6C2mugoMbsgPQNF6cxDOH9pLVkywIrnkyERbxxrScfdcKYz0aVUmOGY80cWIgv elHApCl9HmxBFrfyP153rNhnhYlAswSrJWgcT6jRqgSRJ+jYTl6wKwraBigDjWSEUggJ APpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AIW0vyVv5VUkmePTqggodFb554VMC1dfeScuCNYA9xs=; b=eqM/h2IlQG6a8Gy5kjzjh/LSL26iajY5lIymHr3ExqRk6MVsxrMrEIRq6BE0eZgWam ioaM3dkO0dctdktVspS2TvQqvL8rRsIOXvxYAJ6TlZc+L9d5srs1eIu24yBhcOxuGE/g 8ZGgCwrT3JsIjFkdW0IIekQ7h7/Qyn9XrVzxgQ0S8kX87UusxSKwzQJB3HBUJaT8BybH KoetkcI13U4hj9rXQ2HZbSOYuQPe/cdvLcp1NTwS0OQ1fR4uBDurGzWEr8I/WUfc45dm UBp6grpbgBHlpCxDIJESm+BmawoSoCfdVxOCVHpx4JUS+55hcv//18mUQzwDEfbGI1m1 20jQ== X-Gm-Message-State: AE9vXwMRF1BRYKUOnxnso5FVh1bZNmyIMRH3B+DyTNSPIGs1UerrJWfECXkE87ObN0yE9Q== X-Received: by 10.98.89.210 with SMTP id k79mr23218620pfj.43.1473590903129; Sun, 11 Sep 2016 03:48:23 -0700 (PDT) Received: from 60-242-179-244.static.tpgi.com.au (60-242-179-244.static.tpgi.com.au. [60.242.179.244]) by smtp.gmail.com with ESMTPSA id f23sm3187045pfj.72.2016.09.11.03.48.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Sep 2016 03:48:22 -0700 (PDT) From: Jonathan Liu To: Maxime Ripard , Thierry Reding Subject: [PATCH] drm/panel: simple: Fix bus_format for the Olimex LCD-OLinuXino-4.3TS Date: Sun, 11 Sep 2016 20:46:55 +1000 Message-Id: <20160911104655.8660-1-net147@gmail.com> X-Mailer: git-send-email 2.9.3 X-Mailman-Approved-At: Mon, 12 Sep 2016 07:56:38 +0000 Cc: Jonathan Liu , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The format is RGB888 not RGB666. Signed-off-by: Jonathan Liu Acked-by: Maxime Ripard --- drivers/gpu/drm/panel/panel-simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 85143d1..d4aa68e 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1186,7 +1186,7 @@ static const struct panel_desc olimex_lcd_olinuxino_43ts = { .width = 105, .height = 67, }, - .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, }; /*