Message ID | e5a5d5ab2083280be5fcdc428e8b8ca198b4448d.1694767209.git.geert+renesas@glider.be |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1022108vqi; Fri, 15 Sep 2023 05:58:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFX2isv7aTh/K8yScWSEhbhqkF+o86zABUO4oscmgxIJLfCUV4wBcRBmTu2tiyfK7HnxQlY X-Received: by 2002:a17:90a:7449:b0:26d:2bac:a0bb with SMTP id o9-20020a17090a744900b0026d2baca0bbmr1351761pjk.6.1694782703548; Fri, 15 Sep 2023 05:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694782703; cv=none; d=google.com; s=arc-20160816; b=Kp8PDZO4NgOl55akTGpLZI2xgTf8eY9kknlzYT3zblhSyFOOfDfhWKKM6n6gXH5s5/ Pc+D/QmAIPI6BI313w4/NZh8AS0vEL6He1yoN50YqvRQUeqknBqXnefta0g7EycQ5mXz I42NHfx576+qfiAl5QDmoh8fKGIIaeJHSQuaXrefExYxWZrNvlSIDCMynkZy8YZI97OS HjzUa+uAPO/oIw/47u7XopznQqgRqbz+pEc43VaOp+JiKT7wjocsdBPBxHajHDxILYMK hNZ00NY/4Flbe0Etg5ZzV3iQJygpRmBW2ZMhq2ZUE8zlkTb3NzbHNJLCh/kYO9xiYnm7 EOSQ== 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=J645tnD9ErYiVtzL2tIPGbl7dy4t17nQ/mthrxD6PFY=; fh=KH8HnsdO2yip8Q9uuYy0FWJVbOcjQeNq7C+3VKM5Hzg=; b=06jF04G8sLIlTZzZ1DBoc+e6UZBK7deHgr4O11zoZUJ5ZhnSzbppeZ3bt2b5rJowz5 IhZl7wKIRIOyeU1XHmlvZaphdatiMDXLZajKPrxKHMi1fyKYeI8lylDHBw4aToqLyhqn +VITMuqQ2BPvJNa46A8Z3PGl/E0ucTRwMg1AsNEPoozORpGGwpw0LO8XDte1syLvLJ1u NVzHeLrCLR0yb7KaPzusxEX7evN7Bd+OVbZvSYpn8ao9/N3VsvjcVHyuUw64568EK6N6 fFTHQkymaQkTiXOA+hqWBDTYScvbYE89PhaQdBtq7tHEBnncTCq4sOZSO5Pxf2EAMDl2 qh3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id t7-20020a17090aba8700b0026801e7a613si3367554pjr.146.2023.09.15.05.58.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 05:58:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BF4DD8273323; Fri, 15 Sep 2023 01:55:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233536AbjIOIzc (ORCPT <rfc822;ruipengqi7@gmail.com> + 32 others); Fri, 15 Sep 2023 04:55:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233349AbjIOIyc (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 Sep 2023 04:54:32 -0400 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 047262D4E for <linux-kernel@vger.kernel.org>; Fri, 15 Sep 2023 01:54:18 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:7135:da8b:ba1d:1a7c]) by andre.telenet-ops.be with bizsmtp id m8uE2A00D3q21w7018uEep; Fri, 15 Sep 2023 10:54:16 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qh4aJ-003lGV-C6; Fri, 15 Sep 2023 10:54:14 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qh4ac-00GdbQ-CU; Fri, 15 Sep 2023 10:54:14 +0200 From: Geert Uytterhoeven <geert+renesas@glider.be> To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Thomas Zimmermann <tzimmermann@suse.de>, Magnus Damm <magnus.damm@gmail.com> Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be>, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Subject: [PATCH v4 10/41] drm: renesas: shmobile: Add missing YCbCr formats Date: Fri, 15 Sep 2023 10:53:25 +0200 Message-Id: <e5a5d5ab2083280be5fcdc428e8b8ca198b4448d.1694767209.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1694767208.git.geert+renesas@glider.be> References: <cover.1694767208.git.geert+renesas@glider.be> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:55:37 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777108468107743870 X-GMAIL-MSGID: 1777108468107743870 |
Series |
drm: renesas: shmobile: Atomic conversion + DT support
|
|
Commit Message
Geert Uytterhoeven
Sept. 15, 2023, 8:53 a.m. UTC
The primary plane supports various YCbCr formats, and the CRTC code already knows how to handle them. Enable support for the missing formats by adding them to the table of supported modes. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> --- v4: - No changes, v3: - No changes, v2: - Add Reviewed-by. --- drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c b/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c index 2d9ae0c6ab7b18a8..a0e1a49c84d5691a 100644 --- a/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c +++ b/drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c @@ -460,6 +460,12 @@ static const uint32_t modeset_formats[] = { DRM_FORMAT_RGB888, DRM_FORMAT_ARGB8888, DRM_FORMAT_XRGB8888, + DRM_FORMAT_NV12, + DRM_FORMAT_NV21, + DRM_FORMAT_NV16, + DRM_FORMAT_NV61, + DRM_FORMAT_NV24, + DRM_FORMAT_NV42, }; static const struct drm_plane_funcs primary_plane_funcs = {