Message ID | 20221013-rpi-dpi-improvements-v2-0-7691903fb9c8@cerno.tech |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp141987wrs; Thu, 20 Oct 2022 01:55:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5qScedUNH3cX4sdUPBvn+VJo8omntrFikLIzX6FwL9BMZaYddqZ7QRy3gYiXPExqv4qPiP X-Received: by 2002:a17:907:9603:b0:742:9ed3:3af2 with SMTP id gb3-20020a170907960300b007429ed33af2mr10086346ejc.510.1666256151543; Thu, 20 Oct 2022 01:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666256151; cv=none; d=google.com; s=arc-20160816; b=siiN23wODzZvSY1PGUI+u4BENlE1rX/QRhApCKy/UFaZojn6gkQLIn4Bs3P/r29OjS AdynNfpMbIakZaHejGufXjDsVJzgsUBq0TwDt2fb9HlnHdnZo/Fl+7BBJSjnaj2fabEs UruBrY8ipC7xFlJ0l8mNmWRRi1RI0IrbRpqyOkzXkQOCT/En1XaXNi9e58Xbf5nS6CIJ 4d7BQLSwkaI18c1klHYKKLLJibEUe4yiObrMphcGRJZbzTo7qlRLQEKkhME+DoCDGN6N X2IXIxhLIFXgvfZwcdGFz8r/eblBUabvGIiBywoIorc3UA1gWAYFpbGvxqY4yqVaWcGx j9zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:date:from :content-transfer-encoding:mime-version:subject:feedback-id :dkim-signature:dkim-signature; bh=w5WjrHX1p4oGXE8GiUzEI3SU/oVM7aMllFffCWen/+c=; b=AhFrXm64thpF6aCr5czakB9LSCtHRhmNf+T0tAydJP7WuvTSmn2k7S42fq5ajn53Gx FrlMlKoJh/r+gWnYAPH43bFNoJ/tU8nzPTCOWBrTiDfbVhb9jZbWAtHEFLqaRkKJi0EO c46TXXInAl8hLfGwwFNZrxX+AIKDPj034Hree6nH0f5AYT7HxNijFTdVJvlvx9jFRMKZ dnGDRi6cnpq1lLuhQ14HUj0vmP6E0KZ7i+vfUkoM9xgphb0enqlCDvj9WZUENMGxF24G +/XFLx/oXkU+R2vKd8BR9IRn5WK4BEo5bO07tIsLOikSsWqTSFaY9mkdMZKo0w/8vaLi m/Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=JMKDRfWe; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ssB3BbU8; 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=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg6-20020a1709072cc600b00791a41d1b39si5326047ejc.656.2022.10.20.01.55.21; Thu, 20 Oct 2022 01:55:51 -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=@cerno.tech header.s=fm3 header.b=JMKDRfWe; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ssB3BbU8; 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=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230089AbiJTIvE (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Thu, 20 Oct 2022 04:51:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiJTIvB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Oct 2022 04:51:01 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8F4217536F for <linux-kernel@vger.kernel.org>; Thu, 20 Oct 2022 01:50:54 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 3A701320085B; Thu, 20 Oct 2022 04:50:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 20 Oct 2022 04:50:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1666255848; x=1666342248; bh=w5WjrHX1p4 oGXE8GiUzEI3SU/oVM7aMllFffCWen/+c=; b=JMKDRfWeMk7d/aEyjQ2ZgPHU8N 3eANlS05qRpu954BxJ7JW7lsVCeH7CfH7AxjBf8ilrFYDZlK1dNFihyI6rzzS9FI 1pVDVQqXahp/l/mNqcY8roSHPY39Xi6gxr5ZqQzq9we8l8lnAtJcTtq2WJ7JpTCs wR6S2tpRRYd8DreuSZTQC3Mf4eS0W8GUbn8R2KnFh0RRXJdFCnYtDLY5arfB8ReX fJRnVKtWn8z55O/eGZV6h7YGw7ghm4NiqWJXO65GB2dR9wnvPoDDGoa30ijAqkg5 iSOobzB9gNTTHgcxqrJ1t56WCTFHpc6LD0ze9WQSoUCu8HaMwbDXnfry7zuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1666255848; x=1666342248; bh=w5WjrHX1p4oGX E8GiUzEI3SU/oVM7aMllFffCWen/+c=; b=ssB3BbU8rKENSAOB4fD1BSSG90DMh DzwYygAU2W9SDgNGV0slTmRwFzfttSaVyx07PYTemC23fUpEgTxyj8AsE5X57QI1 OD2FqPKVZZ04HTx1e9qHL55l65Fts1Ta3rDA9D/gcri5XWt4xaMSTlD1AVDUCVww N3KRcaYrxSmKzpHLm0IxssZPAvBsJqgKYswpyE2qWJOM6PSu+FhGUvnChU6sRR8w igRdAy/4oN23K/oYVWUCIRsPY8774xnj4GPmUFnwhd8+SJ7p+9aq5Hslcg+ekxOq yPltO/BFz7UyPDXiLZNe5dq9TQ3w/ffADuHtRi/QJXodm1OHnp/eV934A== X-ME-Sender: <xms:6AtRYx47H3pXV5Ighqz1ISFiAN2M1tVePySyVpAePnpZMeAU7K7e7A> <xme:6AtRY-47B9rFehLU9R5NijBGW8hU8Gprv-72wjfe183GTIwQphXwliqppBVK4PJ3n 4_WnQPgXGb_blAUS5o> X-ME-Received: <xmr:6AtRY4ewtO9wO3hPRwTiJPInPaXrmavUCaK5WclUFtJ6L38-W2OTbZSItlHhpwu7ltTNnDOjxd0DAR_nS6jjTcfeXuq0QWc4CNuP> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeliedgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepufggtgfghfffkffvvefosehtkeertdertdejnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleeuveetteffvdevlefgffelgeduueefleevfedvudegheekfeekheejieek gedunecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: <xmx:6AtRY6Lf33nVyVDS5fNQheIy0hYHsOvJmjrnMzYpUGArO0z10jTPew> <xmx:6AtRY1KI2ejs99O6TSiQd7MDowQGMaVb2qTxBPG_iCfLnJhkDVQQew> <xmx:6AtRYzxTl92O0FttY4-XPC7aizhEpzSdBrIeroYOtb9Xl7RNNmc0qA> <xmx:6AtRYy5iuSIXwpEHto840GtfNDQ82q1iKoYAPLrolaUj5jtcT9o3Mg> Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 20 Oct 2022 04:50:47 -0400 (EDT) Subject: [PATCH v2 0/7] drm/vc4: dpi: Various improvements MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-b4-tracking: H4sIADQHUWMC/4WNzQrCMBCEX6Xk7Ep+rDU9+R7iIU0Xu9AmZVMDUvruLr6Ah2GYgflmVwWZsKi+2R VjpUI5SbCnRsUppBcCjZKV1dYabRzwSjCKaFk5V1wwbQWiG7u2bZ2JziuZDqEgDBxSnGSc3vMs5URl y/z5XVUj9vhDrQY03EIX/NVffBz0PSKnfN5QsM/jOL5vI7ZZvgAAAA== From: Maxime Ripard <maxime@cerno.tech> Date: Thu, 20 Oct 2022 10:30:44 +0200 Message-Id: <20221013-rpi-dpi-improvements-v2-0-7691903fb9c8@cerno.tech> To: Emma Anholt <emma@anholt.net>, Maxime Ripard <mripard@kernel.org>, Rob Herring <robh@kernel.org>, Daniel Vetter <daniel@ffwll.ch>, Eric Anholt <eric@anholt.net>, David Airlie <airlied@linux.ie> Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Joerg Quinten <aBUGSworstnightmare@gmail.com>, Chris Morgan <macromorgan@hotmail.com>, Dave Stevenson <dave.stevenson@raspberrypi.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Maxime Ripard <maxime@cerno.tech> X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1789; i=maxime@cerno.tech; h=from:subject:message-id; bh=WBeFEiPbgMgKukc/SpChNRlkueJiLmWc/Mq8YeDR5TM=; b=owGbwMvMwCX2+D1vfrpE4FHG02pJDMmB7BbTzN7r8agc9XXzn/31z56zE+sZ5bQXe91z/ji5efPb PD/+jlIWBjEuBlkxRZYYYfMlcadmve5k45sHM4eVCWQIAxenAEyk4QQjw/ZZ79rvzsp+OSFA2eDYjG xz12+77ijU+QZnqd1te9Ix4SjDX2le48IMxRu37Hi1/F6dnMubFV32ap+qfPFG7pMbmDtsOAE= X-Developer-Key: i=maxime@cerno.tech; a=openpgp; fpr=BE5675C37E818C8B5764241C254BCFC56BF6CE8D X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747196210094228056?= X-GMAIL-MSGID: =?utf-8?q?1747196210094228056?= |
Series |
drm/vc4: dpi: Various improvements
|
|
Message
Maxime Ripard
Oct. 20, 2022, 8:30 a.m. UTC
Hi,
Those patches have been in the downstream RaspberryPi tree for a while and help
to support more DPI displays.
Let me know what you think,
Maxime
To: Emma Anholt <emma@anholt.net>
To: Maxime Ripard <mripard@kernel.org>
To: David Airlie <airlied@linux.ie>
To: Daniel Vetter <daniel@ffwll.ch>
To: Eric Anholt <eric@anholt.net>
To: Rob Herring <robh@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: Chris Morgan <macromorgan@hotmail.com>
Cc: Joerg Quinten <aBUGSworstnightmare@gmail.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
Changes in v2:
- Documentation for the media bus formats
- Reword the commit log of patch 5
- Link to v1: https://lore.kernel.org/r/20221013-rpi-dpi-improvements-v1-0-8a7a96949cb0@cerno.tech
---
Chris Morgan (2):
media: uapi: add MEDIA_BUS_FMT_RGB565_1X24_CPADHI
drm/vc4: dpi: Support RGB565 format
Dave Stevenson (2):
drm/vc4: dpi: Change the default DPI format to being 18bpp, not 24.
drm/vc4: dpi: Fix format mapping for RGB565
Joerg Quinten (3):
media: uapi: add MEDIA_BUS_FMT_BGR666_1X18
media: uapi: add MEDIA_BUS_FMT_BGR666_1X24_CPADHI
drm/vc4: dpi: Support BGR666 formats
.../userspace-api/media/v4l/subdev-formats.rst | 111 +++++++++++++++++++++
drivers/gpu/drm/vc4/vc4_dpi.c | 16 ++-
include/uapi/linux/media-bus-format.h | 5 +-
3 files changed, 128 insertions(+), 4 deletions(-)
---
base-commit: 7c99616e3fe7f35fe25bf6f5797267da29b4751e
change-id: 20221013-rpi-dpi-improvements-c3d755531c39
Best regards,