Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2271518pxp; Mon, 21 Mar 2022 15:30:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwH3PH3cVY7QOXIXwZbIfCLiKvJpr/FlyzbvpmtHUDBDXq5Q79ISOUwk2VTzpHh0JhXCOlS X-Received: by 2002:a17:902:7fc2:b0:153:3c90:17b9 with SMTP id t2-20020a1709027fc200b001533c9017b9mr15121208plb.61.1647901856725; Mon, 21 Mar 2022 15:30:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901856; cv=none; d=google.com; s=arc-20160816; b=fgfb+ilaUFjjDjya6gs1LR4bMUxwdx1fu3WLArve8TLLAR+/qOTTcJTBxJKWUBJ876 p9dhqeKPjdAWcFwieENJggc+ijAOjT7XyGQY9u6nkTKiGmaOKP2es7FcmltQzyPK22aT lSfjJtpwzYtsCy2ii67B7mMtIR6Vv5zF2A6Ly/4jJaMRFhap4TOpNu7i5Cgo21cK0sCZ sWanUcNwa4oWi+kUAfoN0nb9vet/lXjvSaFBfT7EYmPovpRCrWhdFkag5i5CY0EczWzI OGtPtRSChpkJ6OOF6M+CvqHwbMFgA32tiVYYEXU2zus2phFWCg6Tsq2ifS6LfZnHza/x wgtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AIBDS0hUNR85VZDI1zgABXT3szZ7sswlrtmaRCMmwxY=; b=nE1pTBaqB/4fZLE0WdQP6SW0MTmSJ9YtwQcH/nwlZO6DHgC31tUD32M8w92y1BPGK4 nax7Ay1YHSdvKUOy4mEVJJD0UaTYEx1GnDz2Nd0jzA1aASCmkwsL8tyG9CcNlF/DGqoG xmzho1XCsFLr4R4XFiGTA13a+y7xw/lbe0eaFFeq5ULXz2UwrxVtxzt0WhBYijUNMrm+ PssZ6oC6LIqrSn/UPiZnyx9uEYAgUgMPc8Icow9FchXgNPy5Y/kCI8oGZ+DmKCLcHkff winjY9uicwf2dzZUsLlWU9IyfJjuqdOHB2Ot33k6++hjH2N2MWsEvhwjwGloffqc+mT5 5ymQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uu96r14u; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id z16-20020a170902ccd000b00153b2d1656asi13514946ple.370.2022.03.21.15.30.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:30:56 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uu96r14u; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C25F92AA84D; Mon, 21 Mar 2022 14:44:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348844AbiCUOGM (ORCPT + 99 others); Mon, 21 Mar 2022 10:06:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349213AbiCUN7u (ORCPT ); Mon, 21 Mar 2022 09:59:50 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A4622529B; Mon, 21 Mar 2022 06:58:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D58CFB816D2; Mon, 21 Mar 2022 13:58:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3771C340E8; Mon, 21 Mar 2022 13:58:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647871102; bh=bxKaI78TST9aNbXIOxncy2ZRjY5+Q4ivxya09cBs6XE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uu96r14uwG5phlaF6E8e3mpU1B/NtTuUsvjl6NWdNIZulTHmaYpiw29eB/OcTRvZ1 vgfuWYmk192/MAXBLmPdYzeq7W86YiblFAkDIoSsuC9gAmOSGGAW5vGlhqUKOsxy1O q3ueftffgz415zSpnkrhsi8GMjgmQRYdt525QsRk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Vasut , Christoph Fritz , Laurent Pinchart , Maxime Ripard , Sam Ravnborg , Thomas Zimmermann , Laurent Pinchart , Maarten Lankhorst , Sasha Levin Subject: [PATCH 5.4 08/17] drm/panel: simple: Fix Innolux G070Y2-L01 BPP settings Date: Mon, 21 Mar 2022 14:52:44 +0100 Message-Id: <20220321133217.397728564@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220321133217.148831184@linuxfoundation.org> References: <20220321133217.148831184@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Vasut [ Upstream commit fc1b6ef7bfb3d1d4df868b1c3e0480cacda6cd81 ] The Innolux G070Y2-L01 supports two modes of operation: 1) FRC=Low/NC ... MEDIA_BUS_FMT_RGB666_1X7X3_SPWG ... BPP=6 2) FRC=High ..... MEDIA_BUS_FMT_RGB888_1X7X4_SPWG ... BPP=8 Currently the panel description mixes both, BPP from 1) and bus format from 2), which triggers a warning at panel-simple.c:615. Pick the later, set bpp=8, fix the warning. Fixes: a5d2ade627dca ("drm/panel: simple: Add support for Innolux G070Y2-L01") Signed-off-by: Marek Vasut Cc: Christoph Fritz Cc: Laurent Pinchart Cc: Maxime Ripard Cc: Sam Ravnborg Cc: Thomas Zimmermann Reviewed-by: Laurent Pinchart Link: https://patchwork.freedesktop.org/patch/msgid/20220220040718.532866-1-marex@denx.de Signed-off-by: Maarten Lankhorst 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 f0ea782df836..312a3c4e2331 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1619,7 +1619,7 @@ static const struct display_timing innolux_g070y2_l01_timing = { static const struct panel_desc innolux_g070y2_l01 = { .timings = &innolux_g070y2_l01_timing, .num_timings = 1, - .bpc = 6, + .bpc = 8, .size = { .width = 152, .height = 91, -- 2.34.1