Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7118163rwp; Tue, 18 Jul 2023 10:15:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlFx00HJuXjQVxqz+KZEWL2ol99f5pgfNCuH1eW7Rq48gM/+KyIDxfvoGQfm+NQTGgXhAJJm X-Received: by 2002:a19:7401:0:b0:4fb:9507:8d99 with SMTP id v1-20020a197401000000b004fb95078d99mr84854lfe.2.1689700501843; Tue, 18 Jul 2023 10:15:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689700501; cv=none; d=google.com; s=arc-20160816; b=ZBI5NlHnUeDgNmE+CpOpSNSEoEQYJXbEeumKoLBrDDtMmAv4IhzBbajaP0RCM/jTLo mGytgOn1JSDrGyMay81JYIInVLWlsvFnywzqCdpSoPN0pr7e0WuhakJG+vfQZxP7lAmK EmxqkCQCuG6uM2tqG3Kwk17hZ+0B5746nTiiJC7UqB0HDVFAGBNpc4WSUFNutmpyH3N9 m0Q/fSh4eOqmE4n+aaMDpjhvQNPSdiUY6Ne6uu1nkSMN9z9vK3qS7RpdQMQYs0YrMjBV cVB7iYwQfAXvHkc1YbMN+J2E/VIaaYRO4bNmqpjxPUhoLqSnDjuh8j5ayhr7zYdDB0BX v1kw== 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=jz2sK9eECohbPmGBWvvFGiRJ9s0iLNqJBwCTNuL9JHI=; fh=Ople2ijcDVdvBJwvAg2RvyZp0qNZK7It46SN0LxlrVk=; b=xJz5p46vwwKN4JWiTmg1jYSU5y5qDLejyetVUKjQwrIcv/FEAOUII8EzefK5eu635S BQ+84+Xs8XP/lcusHTlY2nzR3fXId2pCJDDVuve27b3/DKm1gcXH0lyHppgQj1pyB+zv JwfjbsnCa01gs2bb15/xH51R7rU916rAZQHNsLO0Mh+22yJGhm0PIuqhE0HuLhwJtv8a QrVqfIZrpLqAkXaCMztdmY0bhAPlSdlEJh8xBf2byvq0Xzo3qcW0bRz7tjyJEXmvY3Vu 4AB16x4SQXNA2HOih5V5nm3KOuUwZr80no5RKwY+wpriNKkJa9AsbN1Fnaycl7Zd6KaA /O9w== 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 q4-20020aa7d444000000b0051e0ef8936asi1619609edr.291.2023.07.18.10.14.38; Tue, 18 Jul 2023 10:15:01 -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 S233533AbjGRQzg (ORCPT + 99 others); Tue, 18 Jul 2023 12:55:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232347AbjGRQy7 (ORCPT ); Tue, 18 Jul 2023 12:54:59 -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 021821712 for ; Tue, 18 Jul 2023 09:54:54 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5803:2d6d:5bbc:e252]) by albert.telenet-ops.be with bizsmtp id Ngur2A00A0ucMBo06gurSY; Tue, 18 Jul 2023 18:54:52 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qLnyD-001nXf-3d; Tue, 18 Jul 2023 18:54:51 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qLnyN-000gbU-4l; Tue, 18 Jul 2023 18:54:51 +0200 From: Geert Uytterhoeven To: Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , Thomas Zimmermann , Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Laurent Pinchart Subject: [PATCH v2 05/41] drm: renesas: shmobile: Fix ARGB32 overlay format typo Date: Tue, 18 Jul 2023 18:54:10 +0200 Message-Id: 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=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 --- 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