From patchwork Tue Oct 27 13:47:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 289602 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28649C8300B for ; Tue, 27 Oct 2020 15:47:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7985204EF for ; Tue, 27 Oct 2020 15:47:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603813662; bh=qwRHNjH7SGbdtoVVzDiVKKBHUGywK0+1vNy+Ur50Yuo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=uYjA98Pme7LPbZ/IBk8+eGtKl8hxLqInsX4p/U/E0P7DMy1TE9JZo9wmx95DO2HBN nVK9/wKp2HEUzWGmiPSefcfzo1v7Dkh4cv3kzwCaMpNIF4/vMD41MmBhLNahKk8/mM Xn9RcWVs/MF1HaJUH6qNSPGe0nolW3vRFl9Q0l20= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1802245AbgJ0PqE (ORCPT ); Tue, 27 Oct 2020 11:46:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:43658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S368781AbgJ0P1n (ORCPT ); Tue, 27 Oct 2020 11:27:43 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CA441206F4; Tue, 27 Oct 2020 15:27:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603812463; bh=qwRHNjH7SGbdtoVVzDiVKKBHUGywK0+1vNy+Ur50Yuo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YqbcNhUYqRi9vr1jxAmIJ9a76/rVC6Sk9G/0QzM583oHLP5mqIy1kQ9ooq42TnHWe zUL7ReOZ7CBrEhRZWE13lc2Yv4H1o7t36RX4pOERmsPAGxYsvJ74EJ/RhGw8vUhKeD VebesYkAp9RAUMEoP0sPLsPYMWyimwrU+7NYZJag= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Laurent Pinchart , Sam Ravnborg , Sasha Levin Subject: [PATCH 5.9 219/757] drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panel Date: Tue, 27 Oct 2020 14:47:49 +0100 Message-Id: <20201027135500.888942077@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135450.497324313@linuxfoundation.org> References: <20201027135450.497324313@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Laurent Pinchart [ Upstream commit 3b8095169982ff4ec2a1b4be61b7224bbef23b48 ] The OrtusTech COM43H4M85ULC panel is a 18-bit RGB panel. Commit f098f168e91c ("drm: panel: Fix bus format for OrtusTech COM43H4M85ULC panel") has fixed the bus formats, but forgot to address the bpc value. Set it to 6. Fixes: f098f168e91c ("drm: panel: Fix bus format for OrtusTech COM43H4M85ULC panel") Signed-off-by: Laurent Pinchart Signed-off-by: Sam Ravnborg Link: https://patchwork.freedesktop.org/patch/msgid/20200824003254.21904-1-laurent.pinchart@ideasonboard.com Signed-off-by: Sasha Levin --- 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 7bd5ffe8c88f3..eabc9e41d92b4 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2941,7 +2941,7 @@ static const struct drm_display_mode ortustech_com43h4m85ulc_mode = { static const struct panel_desc ortustech_com43h4m85ulc = { .modes = &ortustech_com43h4m85ulc_mode, .num_modes = 1, - .bpc = 8, + .bpc = 6, .size = { .width = 56, .height = 93,