Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp3874523ybg; Sun, 7 Jun 2020 13:27:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRATRC0RzPs3Sv0PSA5sIsGsV0tvOEcW9hcwS7bpOyZjzT49cLk9UzNVUu2z5usU1KPx3q X-Received: by 2002:a50:e606:: with SMTP id y6mr19638638edm.63.1591561657559; Sun, 07 Jun 2020 13:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591561657; cv=none; d=google.com; s=arc-20160816; b=UR4LWDYXr72lbJ0auT2M7EoN1sIr4pK23ZVTwMrOv4XGL4MiiyB5w9AHX6Z0FNYWHX UpVs8uWnEr8GDLqxhXzd0ApG5PVkL9/SR6flKO1XfmNAt211Xmy38clFqJMBcds2M2rG 7DPVu0LciOyLOO5PtEpePITIGY5b6QqX/bKe5UFxGLT3hj/v5foVmSWq1ibOeRx69fz9 jgWVAu5md/fpWEkWrbyZmO9LbGvcCnv73D8ZVNfItOf6B+ufJD8mDBoOb7CNFaW9onvF R/WBWX4BloOHE7yEu+EzNqYHxOSOdpD60J4seu9VHTUROW/vHuurIV2gwydPU0vESMxn ejtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to :message-id:date:subject:from:dkim-signature; bh=9+UFvR2HLQ1OtsQEFQDlYZvMrwIZ+EbLi39KqEqSC5c=; b=hwdzbIv8tEsgjNfCavIz96M2mkUpRd4cZ/vD9DOfJruETMdHtnMMi2v15c6L+TfHxo TdtTmTTEcqRIf0zIdxSKfEvSI0KuoLl3B5oDD6QC6qUidQLhEO4ObTgi2AkLTP2AfKcS ebvmRaBLk9H6a7/rRYRFNCNZkSLiNwx2rK+3eIA1kqLgbcVSQvt6kiZjI0coY5kJ9wCs rOHyYuk+ok0Fi12wcAdVioW2yC7d0rhgFEIuEMMyXxe8cSdSjxVS2E8qXLBAqd8L8q37 2M7cdc/Cllt7EtzklVsCw0bl5acDgXR1Ex/HyqKUw1KrmhV2O9TfILZ438cOdeSmOfFG liRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kwiboo.se header.s=001 header.b="PT5/SPwD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w18si7735699edq.44.2020.06.07.13.27.15; Sun, 07 Jun 2020 13:27:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kwiboo.se header.s=001 header.b="PT5/SPwD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728055AbgFGUZ1 (ORCPT + 99 others); Sun, 7 Jun 2020 16:25:27 -0400 Received: from o1.b.az.sendgrid.net ([208.117.55.133]:9485 "EHLO o1.b.az.sendgrid.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726679AbgFGUZ0 (ORCPT ); Sun, 7 Jun 2020 16:25:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:to:cc:content-type:content-transfer-encoding; s=001; bh=9+UFvR2HLQ1OtsQEFQDlYZvMrwIZ+EbLi39KqEqSC5c=; b=PT5/SPwDAKr7hCt/j9ChohbEuXIFE9HVYER3FGySHJCRHG8yfhB5E5ill2UxtU5r+Oll ahdPcZND/NfLoiG/dgAGsTGi8C8EG6vGNDhFFZ7UhkZ2jnl1J6j1Tc9hwk5pKPAzJeNt+3 YJfqoUmq/C7tUiJfY2lPmGR0UToA2v3Ng= Received: by filterdrecv-p3mdw1-6f5df8956d-x2qpw with SMTP id filterdrecv-p3mdw1-6f5df8956d-x2qpw-20-5EDD4D35-1 2020-06-07 20:25:25.100926506 +0000 UTC m=+346300.487522929 Received: from bionic.localdomain (unknown) by ismtpd0001p1lon1.sendgrid.net (SG) with ESMTP id zJEc6mt4Tsa6oQIoDupI0g Sun, 07 Jun 2020 20:25:24.908 +0000 (UTC) From: Jonas Karlman Subject: [PATCH 0/2] drm: rockchip: add NV15 and NV20 support Date: Sun, 07 Jun 2020 20:25:25 +0000 (UTC) Message-Id: <20200607202521.18438-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.17.1 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h6O1z6Pg2iWyq5iV4?= =?us-ascii?Q?A+F4I6TvUqYcjYtDAgN2Hadv6t1FKJVFTvJ+DT8?= =?us-ascii?Q?LaIMpqOITdDIRmvVNs35SgjYXThyqH1kd6iaExO?= =?us-ascii?Q?R90pp6lr8CkFY4cDML31=2FBkIMO2LIq+GtHuReav?= =?us-ascii?Q?t32QWEkXhPVkqLFsMb5z=2F1Kv0WvITuAHEopipmr?= =?us-ascii?Q?PCqn2V36JAyTakxZJCy9w=3D=3D?= To: Sandy Huang , Heiko =?iso-8859-1?q?St=FCbner?= Cc: Jonas Karlman , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Ben Davis , Brian Starkey , dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series adds 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. First patch adds a new fourcc 10-bit YUV format with 4:2:2 sub-sampling. Second patch adds support for using the the two new fourcc formats. Both depend on "drm: drm_fourcc: add NV15, Q410, Q401 YUV formats" at [1]. This series can also be found at [2], and can be tested on RK3399 using an upcoming rkvdec series at [3] together with ffmpeg at [4] and kodi-gbm or mpv. [1] https://patchwork.freedesktop.org/series/76326/ [2] https://github.com/Kwiboo/linux-rockchip/commits/next-20200605-fmt_10 [3] https://github.com/Kwiboo/linux-rockchip/commits/next-20200605-rkvdec [4] https://github.com/Kwiboo/FFmpeg/commits/v4l2-request-hwaccel-4.2.2-rkvdec Regards, Jonas Jonas Karlman (2): drm: drm_fourcc: add NV20 YUV format drm: rockchip: add NV15 and NV20 support drivers/gpu/drm/drm_fourcc.c | 4 +++ drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 27 ++++++++++++++++-- drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 1 + drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 31 +++++++++++++++++---- include/uapi/drm/drm_fourcc.h | 1 + 5 files changed, 56 insertions(+), 8 deletions(-) -- 2.17.1