Message ID | 20221207-rpi-hvs-crtc-misc-v1-0-1f8e0770798b@cerno.tech |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp134888wrr; Wed, 7 Dec 2022 03:59:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf7zheA1vERnVmsy9bQFD2qo96SIWvT7CErZlyCNNUekNPVQevjOsvZcG3QM7pHfFiIXfAhk X-Received: by 2002:aa7:cb8d:0:b0:467:bc1f:ca16 with SMTP id r13-20020aa7cb8d000000b00467bc1fca16mr83007446edt.269.1670414396284; Wed, 07 Dec 2022 03:59:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670414396; cv=none; d=google.com; s=arc-20160816; b=lTK9SyXiHS6raj+j81wzBbzYE4iIUDcDixlrEGjep/6gRciihn8naiFSWn8BxFcVkx gNYjGW/B/K1gutx/DMyqIYA/LaUstbcRw+D0yuxEaWXihbf1p+hjuwIv2fMSLkr7REZu 3jRhckBN2xXK5ZgzP7/mgTlbCegG1NOgyngpztQDbgC7UWvsKBSSxp2VQv7JMYRudHPK j4v3trOH5WaPJPYJ6QGfH/VHheopCF3JGHg8l/BXd3seJKTZWo+Twc/41EXGxiptkvHk ci1PKFq3ltdq5Ya9RXI+zrzJzypSC4ulzAONd474S1mcK7HS0oGWUOr7LCnAe3VYShsB XRGQ== 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=pkqMTedPSS4g+nzqyFmxdSVav2tzofouo+R7SiW8/4M=; b=J3rp2uJSOfzNqHTnkuBHqtb1Ft9ZfWfa98yTpX4zaOWeCeoYzsXKpYu8JFwqcw9fp1 Bzd7CXmKq1vYA5mHxgn9qRJt9rwxR5ekzN2CD9yG1ZQG+pb6ekDtkNvSj1uBON9t8jOe 3lqsNVbxzleBlAJIa6LoY4PogFekSJhlRlbgSA4anmxBJllB45HB6mdWeVy7vet44f72 o+mgcHqUH3y5e3dfuxjzjavwvBT1U9sMq37h/tGA0fdfBTDeQU6bvXAYgQ+6AOOGv43L A2aFv6DmnZ+PI+bqySuZEJxpYQh4vFCAWOs4BI1JwO9bM3A+xCEq0j0RUBweXddd8cqH a7Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=P+UwZSn5; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="s/ZInIPk"; 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 c15-20020a50f60f000000b00468b9d932c6si4116681edn.258.2022.12.07.03.59.32; Wed, 07 Dec 2022 03:59:56 -0800 (PST) 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=fm2 header.b=P+UwZSn5; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="s/ZInIPk"; 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 S229753AbiLGLzg (ORCPT <rfc822;b08248@gmail.com> + 99 others); Wed, 7 Dec 2022 06:55:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229929AbiLGLzP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Dec 2022 06:55:15 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B0B71FF9F for <linux-kernel@vger.kernel.org>; Wed, 7 Dec 2022 03:55:13 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 7AAC65C01D2; Wed, 7 Dec 2022 06:55:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 07 Dec 2022 06:55:12 -0500 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=fm2; t=1670414112; x=1670500512; bh=pkqMTedPSS 4g+nzqyFmxdSVav2tzofouo+R7SiW8/4M=; b=P+UwZSn5aiBU1K/Ttfcm902bTL d+9t5UAiSHuWKPhOKvc5KYIVzCOm0Ub1Nsp1BggJT4BbwMHh7CQqc5JpsGBDepq0 Dh3sseBs6/aDDxCg0dHRvBULzPjEZ4Q1TkJLn0cpsVy++m3UImuEYlABRR+GbRhI iNQghc93nXfftDv6/ssS917igQRoiqjSv9xo9lakyCijaIA4wpGvVVz4O6Bl4w9/ +cqO6oL43NHFmN2LNtrnKRO0QdYSBGgk5dHcuHKJxLlQ35+RW6j2w7NylPJCvsDT HoBdV7pAKvVHtpbqMXE0HlC243T2SvMueekELx16jWraK60Nu4iIApTEGpfA== 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=fm1; t=1670414112; x=1670500512; bh=pkqMTedPSS4g+ nzqyFmxdSVav2tzofouo+R7SiW8/4M=; b=s/ZInIPkvm38R+uHYPXRaeeZCzoyq IRTjeu/m76XxQlIUDuvISzooaUekoG0ILuK9DqJca5KNvCpsOdiSe0gC5SGr9QEf iZA/fMLYZyt5W97kPSxyBCPYsGu7EZVE4YU3/1P7IJxi4dbBKvVNYClOAOXbcNzs DRtPNUHTLv9FhkPX2DXL/syYkLJkRINlscOUTfaOHPV7bKcpJPn2DCe8bEsN9mZg 1oGUnrvNsBqD1Oe2xKazrynD+vqzpFb22HhNTKJj4s+UKYURSQfDyi6WhvO2QRIF JAVAhtv9CoLWYFKCdS+g7t3MMuY0vdpeNAuUeEe7f/sfkzIhk+RtWEzow== X-ME-Sender: <xms:IH-QYyvP42Wk_VbLyBqVb9ka6Ljs7iPj_m5tuMwJXI1pxnCPyK1J0Q> <xme:IH-QY3fzuZuFIlJOyYYI_xW6W-sNyUitx5okCEA9BjWXDjK4X3F27YTMlkc_UlPRB yH1UaSRcOTz6r8DnP8> X-ME-Received: <xmr:IH-QY9zr_fk-1tLOJrgbOcPI-eF5ZRmiKZxO1zulurFEAfRJSoCCBo9UflMsgf-SozodVyRoV2Mj-XJwA-HbRIA6ZWUOX0VGYaEN-IMqsfA8rw> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudekgdefgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefugggtgffhfffkvfevofesthejredtredtjeenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeevgfeiffffhfeugedvvdffgfevhfelgfehueeujeeiffejfffgleelvdffgeek keenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: <xmx:IH-QY9OAuA5TpFt1Pz4euiBpo5vUHI-CF0GWIuRW2lFSsfJAWJY2WQ> <xmx:IH-QYy8wFAEpk7eprR6BC_0a4Z9ly_3igI_akjSQ4I507y2F1AK_gA> <xmx:IH-QY1VaHUfLyRtgs_avHSxbALl95LG0DiiWQ3MLfbmZdnr8GUiGfw> <xmx:IH-QY12IqGuE4yYjE2vhsAJPqN4z32bInJq1CzlXIsq3BpieTobu9g> Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Dec 2022 06:55:11 -0500 (EST) Subject: [PATCH 00/15] drm/vc4: Misc fixes and improvements for the HVS and CRTCs MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKd+kGMC/w3LMQqAMAwAwK9IZgNtBkV/U9NgA1olURfx73a84V 5wMRWHuXvB5FHXozbEvgMuqa6CmpuBAlGkMKKdiuVxZLsYd3XGPI1xCnlIAxG0tyQXXCxVLm3We9 u+7wc3Nn/qaAAAAA== From: Maxime Ripard <maxime@cerno.tech> Date: Wed, 07 Dec 2022 12:53:11 +0100 Message-Id: <20221207-rpi-hvs-crtc-misc-v1-0-1f8e0770798b@cerno.tech> To: Emma Anholt <emma@anholt.net>, Maxime Ripard <mripard@kernel.org>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Eric Anholt <eric@anholt.net> Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Dave Stevenson <dave.stevenson@raspberrypi.com>, Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>, Maxime Ripard <maxime@cerno.tech> X-Mailer: b4 0.11.0-dev-8c583 X-Developer-Signature: v=1; a=openpgp-sha256; l=2182; i=maxime@cerno.tech; h=from:subject:message-id; bh=BTg/iRPeaQ5YaDF5kWRxTOApky7KyiymtFgMBBO/Swo=; b=owGbwMvMwCX2+D1vfrpE4FHG02pJDMkT6laYX33MwsFT4Mtq/K/gi4PWv0dpDLqxXc0aX6Lzv2hW CjZ2lLIwiHExyIopssQImy+JOzXrdScb3zyYOaxMIEMYuDgFYCKr2Bn+2Zyqqn750N8msKhjkd67Av lTYVsNt9ebnP+hzbVui9jpcIb/jo4f5D2N9E/FxZUuyas+eEWT5V2uSA4fv5GA2nLnO5KMAA== 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, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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?1751556445665334005?= X-GMAIL-MSGID: =?utf-8?q?1751556445665334005?= |
Series |
drm/vc4: Misc fixes and improvements for the HVS and CRTCs
|
|
Message
Maxime Ripard
Dec. 7, 2022, 11:53 a.m. UTC
Hi,
Here's a collection of patches for the HVS and CRTCs that fix a few
issues (with DMA accesses and timings, mostly), and add a few minor
features.
Let me know what you think,
Maxime
To: Emma Anholt <emma@anholt.net>
To: Maxime Ripard <mripard@kernel.org>
To: David Airlie <airlied@gmail.com>
To: Daniel Vetter <daniel@ffwll.ch>
To: Eric Anholt <eric@anholt.net>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
Dave Stevenson (12):
drm/vc4: hvs: Configure the HVS COB allocations
drm/vc4: hvs: Set AXI panic modes
drm/vc4: hvs: SCALER_DISPBKGND_AUTOHS is only valid on HVS4
drm/vc4: hvs: Correct interrupt masking bit assignment for HVS5
drm/vc4: hvs: Support zpos on all planes
drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5
drm/vc4: hvs: Add DRM 210101010 RGB formats
drm/vc4: plane: Allow using 0 as a pixel order value
drm/vc4: plane: Omit pixel_order from the hvs_format for hvs5 only formats
drm/vc4: plane: Add 3:3:2 and 4:4:4:4 RGB/RGBX/RGBA formats
drm/vc4: Add comments for which HVS_PIXEL_ORDER_xxx defines apply
drm/vc4: hdmi: Correct interlaced timings again
Mateusz Kwiatkowski (2):
drm/vc4: crtc: Fix timings for VEC modes
drm/vc4: vec: Support progressive modes
Maxime Ripard (1):
drm/vc4: hvs: Ignore atomic_flush if we're disabled
drivers/gpu/drm/vc4/vc4_crtc.c | 71 +++++++++-------
drivers/gpu/drm/vc4/vc4_hdmi.c | 5 +-
drivers/gpu/drm/vc4/vc4_hvs.c | 175 +++++++++++++++++++++++++++++++---------
drivers/gpu/drm/vc4/vc4_kms.c | 1 +
drivers/gpu/drm/vc4/vc4_plane.c | 139 ++++++++++++++++++++++++++++---
drivers/gpu/drm/vc4/vc4_regs.h | 20 ++++-
drivers/gpu/drm/vc4/vc4_vec.c | 4 +-
7 files changed, 337 insertions(+), 78 deletions(-)
---
base-commit: 99e2d98adc738597abcc5d38b03d0e9858db5c00
change-id: 20221207-rpi-hvs-crtc-misc-d97190d6a622
Best regards,
Comments
Hi, On Wed, Dec 07, 2022 at 12:53:11PM +0100, Maxime Ripard wrote: > Here's a collection of patches for the HVS and CRTCs that fix a few > issues (with DMA accesses and timings, mostly), and add a few minor > features. Applied to drm-misc-next Maxime