From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 123BCC4361B for ; Tue, 15 Dec 2020 15:44:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB68A2184D for ; Tue, 15 Dec 2020 15:44:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB68A2184D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=5yI6e8IHosE6crcNPdiYXriSvvrbbIwJbZUxSiEgcKg=; b=ouRLhsGr7uo1CvMk2QVjXewIw7 MgYtr4x023eWyyD2cKvzgJfTVPIfPe7VvXNMeDSCOqTelUjHhTh0BvB5/kd9d+YCpKIYs9w/DCgZs 6b6HF6rSztA+t3CSTPUlEbR1U9+7K/zPyMwmGZeMfq/dAT8O3fqdpKf+d5/5o5IVFBseYADtlOxiH Y92U+FEWxRUB3aA+3rCBMh/kfyLzzUWFVx0PjDmpagqYoUozgAAcjoHn/hzafCV00NdwI7LmnKjwC KGOND+u81bH+dPGUxtw8G0hZYzmaUNIR7vMIqcv9m3+KzG7SGL/fLtbrmkYNxhIhVqKLb4E4TWBB1 xj/iSrww==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpCTu-0000LH-MM; Tue, 15 Dec 2020 15:43:18 +0000 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpCTU-0000AJ-Pr; Tue, 15 Dec 2020 15:42:56 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.west.internal (Postfix) with ESMTP id 8E725435; Tue, 15 Dec 2020 10:42:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 15 Dec 2020 10:42:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:content-type:mime-version :content-transfer-encoding; s=fm1; bh=Lg4neL9ZugxBQTIbWDnPbthuy6 QqWV/ujkN+uYSF8c8=; b=TIUbd120C6l5c8cYza9HsWQiHsYkKhJNtFNAuN99zG ccJDPeVAKQdW3WfX5GM4Bs9P91zAe0xKnlNTcCAiSXNDy5QIcyeQP0mjIICue/aR gGcp5QaAcC6Kazn8VTGP16GDbCTXWFtfPrwq17YXL38fj0MVO+0DsXLmldruWlAb /SuUIQN+V5c76ph6lBicluNGNhQubPQ7LuXE4v5bivNYg/WWvCxt6qpb9P+lFnz5 TixhXeRlEqdhHCczXbqmcHVUBZLv+KfBa7DpbEjLPZ5x4T/xvlR/pO6Nv2r5kTpo zpzlJFUdz58yKyHNw5clw2Rwkiwvjqx6etecHg/V6/Ig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Lg4neL 9ZugxBQTIbWDnPbthuy6QqWV/ujkN+uYSF8c8=; b=FbOxE7C72IGaOc2mCZm74N fKfmLL3dHoF9Sn+visx5keJUkuQ0SkQlMzf12g6ke4lkfQYsw9igzjtU1f8v5AWY heAzWPwBbZZJY5jdaVG4DIu7FMzz9gsUvmmi9oVVyzuA58G29/ItTJmXNsSObMDx MZnAuuy1JJaTkeV8M4E0Lu1xRZm8Z1F9d++kXO4xERls6TbREH7lguAwQ93UAUBv c3zs4pHhvkEL73mCSdTjeoiUpw+R/e6vIViZ9+imVax+XH8KdVEWmK3TKQv1tV/o X2vZmY267ioZEsqvtRFJ0+5AUTpItIR5Sh8svM5dJxY6pfU/pa+2lznBpOZ99+Zw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeltddgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffotggggfesthhqredtredtjeenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeetieekgfffkeegkeeltdehudetteejgfekueevhffhteegudfgkedtueegfffg feenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 53C7E108005C; Tue, 15 Dec 2020 10:42:45 -0500 (EST) From: Maxime Ripard To: Eric Anholt , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Daniel Vetter , David Airlie Subject: [PATCH v7 0/9] drm/vc4: hdmi: Support the 10/12 bit output Date: Tue, 15 Dec 2020 16:42:34 +0100 Message-Id: <20201215154243.540115-1-maxime@cerno.tech> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201215_104253_155947_65B9BA39 X-CRM114-Status: GOOD ( 10.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Dave Stevenson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Here's some patches to enable the HDR output in the RPi4/BCM2711 HDMI controller. Let me know what you think, Maxime Changes from v6: - Addressed the issues pointed out by Dave - Rebased on current drm-misc-next Changes from v5: - Fixed the connector->state access in the connector state reset - Added the tags from Thomas and Dave Changes from v4: - Added the tags from Thomas - Fixed an issue with the clock doubling - Changed a comment to match the code being introduced Changes from v3: - Don't dereference the connector->state pointer if kzalloc failed Changes from v2: - Rebased on current drm-misc-next - Fixed a bug that was dropping the refresh rate when the bpc count was increased Changes from v1: - Added the coccinelle script to the first patch - Fixed the pixel_rate ramp up Maxime Ripard (9): drm/vc4: hvs: Align the HVS atomic hooks to the new API drm/vc4: Pass the atomic state to encoder hooks drm/vc4: hdmi: Take into account the clock doubling flag in atomic_check drm/vc4: hdmi: Don't access the connector state in reset if kmalloc fails drm/vc4: hdmi: Create a custom connector state drm/vc4: hdmi: Store pixel frequency in the connector state drm/vc4: hdmi: Use the connector state pixel rate for the PHY drm/vc4: hdmi: Limit the BCM2711 to the max without scrambling drm/vc4: hdmi: Enable 10/12 bpc output drivers/gpu/drm/vc4/vc4_crtc.c | 24 ++--- drivers/gpu/drm/vc4/vc4_drv.h | 19 ++-- drivers/gpu/drm/vc4/vc4_hdmi.c | 155 +++++++++++++++++++++++++--- drivers/gpu/drm/vc4/vc4_hdmi.h | 23 +++-- drivers/gpu/drm/vc4/vc4_hdmi_phy.c | 8 +- drivers/gpu/drm/vc4/vc4_hdmi_regs.h | 9 ++ drivers/gpu/drm/vc4/vc4_hvs.c | 18 ++-- drivers/gpu/drm/vc4/vc4_txp.c | 10 +- 8 files changed, 208 insertions(+), 58 deletions(-) -- 2.29.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel