Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1996454rdb; Thu, 17 Aug 2023 07:59:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGA2iCZTAErpDqEz5eu7Lj7daUGrnjsZIyfldX3a1bDDWyKkBYg6YLMopy8DX7l341Zxd+T X-Received: by 2002:a17:902:6849:b0:1b7:e9e9:1004 with SMTP id f9-20020a170902684900b001b7e9e91004mr4409637pln.30.1692284377904; Thu, 17 Aug 2023 07:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692284377; cv=none; d=google.com; s=arc-20160816; b=CJHRNvg0q46Mz55RZy0zJpRXwYhbEfcopmdV9/wim5qwF1xwaY02JASacM+Hc2Qq1g /p8ON8jWvr5f+BXo1YbIAzeNY9FAS1DaG4KkFq1XhJgDJmqeAYQiqDy7te6R0nHTrbsT iCPertklCbhIG+WxDpy8w/+Fll9+oxZG0JTwBUy+SJ4pwvY609j9EDIMU6q48V/ihZFo pDSGflsclZcH9SzR9x4Z9E73KO03VGmxa5RWPjrd/uFBrMCJvLdrzagO21wjeSXFjR5f SVcJVopWDdXolcTBowMTYeZoE8p5UwChFEICDhSlIUfKY8HmFp68D+gGxgGWCo0C110D 3k3w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=STDZ6U39jxB51jYSfsTgveafS7gOBE4rji+IW+HhSzI=; fh=OmmZDJEp3pl7jaFV8O2/yN66VkuJIFqajAiD2ZUHFno=; b=IDi3gouMV3odaD83HrvYTYUyEf8LJ+O7YHfAOFox3icNQRfpxpVSF+jnfmK9HHNOTz snrGy2HnCNC/BkcjGfeoQPr3VKKc5o4VDZ09jPW5voO0s/tc2WVswPoo6ZnRaSm/BASz Srs0UtvB8ZdnSlIXaafXt7RnLsd33ujLQN9HV7VtnCUVQUPxmgNv8pSOoKTb9spVAmYf nOkgeyqwzwztgGcsASb19gqA3p+E1Z4MLB656BTZd/0Cu/HhMmhgqaqpuzuG8Kn5BnVI fS1nXXeb1NjR80/CZgcXk4By1tAtY3YAUvqiR+rlH+lVP3FbnbBJiRy8+YAT9SsAVhaW UmBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12-20020a17090332cc00b001b6ae9f8bb1si13851146plr.75.2023.08.17.07.59.24; Thu, 17 Aug 2023 07:59:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244094AbjHPKqR (ORCPT + 99 others); Wed, 16 Aug 2023 06:46:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244168AbjHPKpU (ORCPT ); Wed, 16 Aug 2023 06:45:20 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C4F72D4E for ; Wed, 16 Aug 2023 03:45:09 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5d0c:f209:12a7:4ce5]) by albert.telenet-ops.be with bizsmtp id aAki2A00945ualL06AkiRS; Wed, 16 Aug 2023 12:44:43 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qWE0x-000ot8-O7; Wed, 16 Aug 2023 12:44:42 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qWDAw-00674U-EK; Wed, 16 Aug 2023 11:50:50 +0200 From: Geert Uytterhoeven To: Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , Thomas Zimmermann , Magnus Damm Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Laurent Pinchart Subject: [PATCH v3 05/41] drm: renesas: shmobile: Fix ARGB32 overlay format typo Date: Wed, 16 Aug 2023 11:50:12 +0200 Message-Id: <49271da6ef584d441af1977420a57a6f204c5b1a.1692178020.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE autolearn=no 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 When configuring a CHn Source Image Format Register (LDBBSIFR), one should use the corresponding LDBBSIFR_RPKF_* definition for overlay planes, not the DDFR_PKF_* definition for the primary plane. Fortunately both definitions resolve to the same value, so this bug did not cause any harm. Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart --- v3: - No changes, v2: - s/configurating/configuring/, - Add Reviewed-by. --- drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c b/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c index 0e34573c3cb3d032..7e49e2873da1bb6f 100644 --- a/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c +++ b/drivers/gpu/drm/renesas/shmobile/shmob_drm_plane.c @@ -94,10 +94,10 @@ static void __shmob_drm_plane_setup(struct shmob_drm_plane *splane, format |= LDBBSIFR_AL_1 | LDBBSIFR_RY | LDBBSIFR_RPKF_RGB24; break; case DRM_FORMAT_ARGB8888: - format |= LDBBSIFR_AL_PK | LDBBSIFR_RY | LDDFR_PKF_ARGB32; + format |= LDBBSIFR_AL_PK | LDBBSIFR_RY | LDBBSIFR_RPKF_ARGB32; break; case DRM_FORMAT_XRGB8888: - format |= LDBBSIFR_AL_1 | LDBBSIFR_RY | LDDFR_PKF_ARGB32; + format |= LDBBSIFR_AL_1 | LDBBSIFR_RY | LDBBSIFR_RPKF_ARGB32; break; case DRM_FORMAT_NV12: case DRM_FORMAT_NV21: -- 2.34.1