From patchwork Tue May 30 19:33:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13261044 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A76CBC7EE23 for ; Tue, 30 May 2023 19:33:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0DE5D10E419; Tue, 30 May 2023 19:33:43 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by gabe.freedesktop.org (Postfix) with ESMTPS id 12FE510E419 for ; Tue, 30 May 2023 19:33:41 +0000 (UTC) Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 7ADB1847C0; Tue, 30 May 2023 21:33:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1685475219; bh=ELgNuljcJ5vjsEuIuG/eTRGtxGXlcKyvsMtI/VuuJhM=; h=From:To:Cc:Subject:Date:From; b=ULfmCKR73OrmYI81jN1FpKqWdIPkFFmcaeBbL59Rup9p2uCGLfK/GbI4BUaKp9uSc 5QqOhmHGB+Zx3XuroV6tOexbR84ND89O+656bDlV6VvYwZijEpa1XCsGacJ5ugXJgp nG860yuIgCwdI8wptIgwqnQMSMDKCB7OY7WTMb9cGPSBLn4aCnQ8JqkhkvQS7uxraY brHj8AgkSqAlnO3Azy4OyqSNgfgp0hrXjSH9DldmwwZ6syQPepyGIS0hveDH01pQrR j78gb7yrWLJLagX37qGjC2DfOMdZ35AxXVIbdPQ+Ty6VS5rbES4xL5T9I7mGuYOznE BjBAmK/PoFJ0A== From: Marek Vasut To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/panel: simple: Fix Powertip PH800480T013 bpc specifier Date: Tue, 30 May 2023 21:33:29 +0200 Message-Id: <20230530193329.653526-1-marex@denx.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Neil Armstrong , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This panel is 8 bits per channel DPI panel, add the missing .bpc specifier otherwise the kernel is complaining about it as follows: " panel-simple panel: Expected bpc in {6,8} but got: 0 " Fixes: d69de69f2be1 ("drm/panel: simple: Add Powertip PH800480T013 panel") Signed-off-by: Marek Vasut Reviewed-by: Neil Armstrong --- Cc: Daniel Vetter Cc: David Airlie Cc: Neil Armstrong Cc: Sam Ravnborg Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 108ebe95590bc..02e3ddf58af07 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3327,6 +3327,7 @@ static const struct drm_display_mode powertip_ph800480t013_idf02_mode = { static const struct panel_desc powertip_ph800480t013_idf02 = { .modes = &powertip_ph800480t013_idf02_mode, .num_modes = 1, + .bpc = 8, .size = { .width = 152, .height = 91,