Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5607719rwd; Sun, 18 Jun 2023 15:33:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Q4QU2hjqp3ngnIPJnmtjMB4VqUGT/t/uOooHIgLIh+csXszY8h5vQmHiy/wU30bHpl1f+ X-Received: by 2002:a05:6808:57:b0:39a:bef9:72cd with SMTP id v23-20020a056808005700b0039abef972cdmr9233888oic.47.1687127616587; Sun, 18 Jun 2023 15:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687127616; cv=none; d=google.com; s=arc-20160816; b=A7OxSSR+4a16OKCTXmSytDYPtq9r2WJfc3xJiKrlH3VnsEpmjPaX5oH2BSk3M8/Vfl 5SlD6+NHcgd3eU04Tf0ZMQRtsKPKWjzQPx8g3DVAtIZX59AIWM3LtqLxj1tK67iPs+tQ a5Qa3g8P7Dp4wkU5xAbsApURZhQhTXRaeXDHNMmiHaum8+tB2g3HlmIZyitRCqlfEKE8 57hYs7EgckPc25ro0iA2bR7Rjg9cbv2xVzTNttMeB37OA58AH+exO+YSl3zjT+mpmjWR hdLY06Sth8coM2ZcoiSiN30WkNjYyZLp+2AvEL92qv2cgEKBr3LL6z9GXKIbUheW56UB D3pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:mime-version :message-id:date:subject:from:dkim-signature; bh=kE3ug1FphWK8w4bAu88BIK2LQbxYxA5TL1gVPHRLq0s=; b=WwTNQeoItdQQqsoI0mnFDUnIYVV4sPyMwhYtDlHiQIprxpu6kiWOM6GwNr2gmTPshH W8mBAduS3m7jGoC7yBowR9FFgC5KyFRFUqSjoQeXBLg5XP2wC7yzCunxPm8jA79UMKDZ AKMIf0n8vWmvbKmNMGxF4tK/Wa45VtitSxIKBTT6k4MmXMFwcrSuTEzV+AKd1ejDM9o3 veHzpl6WGQLfT5IKwGOkL9epKNAiuVwuIQPjm6RtrsU8snGFdhEDXgOSKK56cx7ZeCgz l9zORgdmMcByyDXlIh1RDzQSzZIIrZTXhTWpzTEpVgDEo8cdUaZ1RDKxLNBl38mpo0J6 AdTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kwiboo.se header.s=s1 header.b="I18/eC+Z"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=kwiboo.se Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 26-20020a17090a031a00b0025ef64e6357si2139331pje.127.2023.06.18.15.33.21; Sun, 18 Jun 2023 15:33:36 -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; dkim=pass header.i=@kwiboo.se header.s=s1 header.b="I18/eC+Z"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=kwiboo.se Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229532AbjFRWB3 (ORCPT + 99 others); Sun, 18 Jun 2023 18:01:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjFRWB2 (ORCPT ); Sun, 18 Jun 2023 18:01:28 -0400 Received: from s.wrqvwxzv.outbound-mail.sendgrid.net (s.wrqvwxzv.outbound-mail.sendgrid.net [149.72.154.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96786C5 for ; Sun, 18 Jun 2023 15:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:mime-version:to:cc:content-transfer-encoding: content-type:cc:content-type:from:subject:to; s=s1; bh=kE3ug1FphWK8w4bAu88BIK2LQbxYxA5TL1gVPHRLq0s=; b=I18/eC+ZDPL1HZg9AUC1xf4aOdnDKuDMJNZrPnUxF/B8A44OdIN6YX9Y/GzODreQRsBJ q5fe/G5y0H+GJ9SIBrsnX87Gg79I/absjKEwql8LswxWeSJjREH0MtNEOMD3Z1DDOpMhKg D7xc4Au6vFseMsLWGbQhARkSavbLUlqRgqq+Hs0b2l0NLaXl9HtnkX9IYcnDNgvzX/2Max zhTbxBxVMx8vNt/Cl/SVszvlOsSocZVNqN4G/5wTxhEqULNbKkplpXQ02snOXMlK+R1/Az DVUs6Yf2kD5JX2LmIop7PApmABEePgUZcyB6VaWRLmGrIH0ZPweV5Z66/jQ9V1Ww== Received: by filterdrecv-65f68489c8-zmlx4 with SMTP id filterdrecv-65f68489c8-zmlx4-1-648F7EB4-7C 2023-06-18 22:01:25.078475909 +0000 UTC m=+3363925.214276436 Received: from bionic.localdomain (unknown) by geopod-ismtpd-5 (SG) with ESMTP id o9F54kvgToCDS4l4o5-IEA Sun, 18 Jun 2023 22:01:24.617 +0000 (UTC) From: Jonas Karlman Subject: [PATCH v4 0/2] drm/rockchip: vop: Add NV15, NV20 and NV30 support Date: Sun, 18 Jun 2023 22:01:25 +0000 (UTC) Message-Id: <20230618220122.3911297-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h2uRKfwUrnAuhEShj?= =?us-ascii?Q?yRo=2FdCt6XHj=2FoPJvO4UOauxEyTrAKiA2DU4+Gq+?= =?us-ascii?Q?lO9RCUbwfLMSCEL+PvsSkAWdCnDGx4lrxs0JTM6?= =?us-ascii?Q?JkRcC9bUwBS4FWuT=2F6RhbZ6rTH3uuLRFRwKJe5u?= =?us-ascii?Q?KGH1CVnPRaKR36iFzVgD6+RzZIvoU3a8jZos5l?= To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sandy Huang , Heiko Stuebner Cc: dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jonas Karlman X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,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 This series add support for displaying 10-bit 4:2:0 and 4:2:2 formats produced by the Rockchip Video Decoder on RK322X, RK3288, RK3328, RK3368 and RK3399. Also include 10-bit 4:4:4 support since VOP can support that also. First patch adds new fourcc 10-bit YUV formats with 4:2:2/4:4:4 sub-sampling. Second patch adds support for displaying the new fourcc formats. These patches has been in use by LibreELEC and other distros for the past 3+ years, hoping they can be merged this time around :-) Changes in v4: - Rework RK3328/RK3399 win0/1 data to not affect RK3368 Changes in v3: - No changes, rebased on next-20230616 - R-B tags was collected Changes in v2: - Add NV30 format - R-B tags was not collected due to NV30 changes This series is also available at [1]. [1] https://github.com/Kwiboo/linux-rockchip/commits/next-20230616-vop-nv15 Jonas Karlman (2): drm/fourcc: Add NV20 and NV30 YUV formats drm/rockchip: vop: Add NV15, NV20 and NV30 support drivers/gpu/drm/drm_fourcc.c | 8 +++ drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 29 +++++++++- drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 1 + drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 63 +++++++++++++++++---- include/uapi/drm/drm_fourcc.h | 2 + 5 files changed, 91 insertions(+), 12 deletions(-) -- 2.40.1