Message ID | 20220728-rpi-analog-tv-properties-v7-19-7072a478c6b3@cerno.tech (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A963CC4332F for <linux-arm-kernel@archiver.kernel.org>; Mon, 7 Nov 2022 14:32:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uIJRss1c+QdONfDxcNDjORJgoBf8Mv2o9NPQ5f8+Y08=; b=Roh8RCrMKZgA57 eh0sfhLBMCCsEBsvsvSdTwTuDD0Lc2gpRoYIcid5jcdaQVigpJZtz4A3Uebsq+6SeTy1/xH0RacPG 0Xn04MV3+pAIwamDBmFaUJ/E2rASpOjcl3gKfKA8crkBafFtQ6XBZtlZEIT0miva77jawpJ5nx+k3 Dybuq2tFEDAxRswvMrMagK1uq6729XYFW6qZ3YkgsKm4B+P9cxmIPljsZwwrUF2HxAF6B7pTw11lP IaP1GhrDULdWIHjUBQ4FKMCH/5KfLu4GCkFw7Zi0BV97dC8ot3mcLhuWetbf/aP+596nQbSSJbk1Z LWap8961zwMS+tBkIXAA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1os39n-00FFct-FA; Mon, 07 Nov 2022 14:31:24 +0000 Received: from wnew2-smtp.messagingengine.com ([64.147.123.27]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1os2x1-00FAR3-Iv for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2022 14:18:13 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id D9A5C2B0670B; Mon, 7 Nov 2022 09:18:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 07 Nov 2022 09:18:11 -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:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1667830688; x= 1667837888; bh=oukDemhxypEyvHT0sYH/3SEdEy222Ldgm0MEgJ8oq9g=; b=n jym3T6EIudHSSfb8O7SVfUcMp4nmW8h56lqREqtEAvO0VzWjSQRbOHFaedtq/T24 YLBvxFXUMiMpXxr+9DGziyv5b9N0cGD2J4Ks9FhJ/QH17zG3ulBlQ3UN/rCuaeVW GPKwbToQm5+fyMYH2+iY/AzuCgTAKURFl1/ym8eVqLNWwAYaAWbrSxc1jMFKElQZ Q6jIeB12eMCQpPL/skt5MMHIhhZi+py+zUDLxJi1iNq9pa00tJYg8177cKB8DjdD p71x4AGDKljkZYKaFWOsYUQZnF+hfi6VCEwMdqUh+oXNCGroRebfw2FAfj+BryIH CzmtoyLVi9HztR/2pSteQ== 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:in-reply-to:message-id:mime-version:references :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=1667830688; x= 1667837888; bh=oukDemhxypEyvHT0sYH/3SEdEy222Ldgm0MEgJ8oq9g=; b=J YkdOXAexGVz5SM9SZa9DeH6jzqNKCXlCjlhvwXDieB43vMC1wMXNVU+K24etj9lk R6MmP5IF0uYy0Vnkjj/BY7PyHTlEMV2VD/qxRdLE63JMGozSu5AYBOmfK0E3Qnup 9MI+AWJsYUdRewB5X9fDtLef5M7MRP6dOP3vEDilturupHfjD08XgsyzRIwYLwPL bJ9tPz4jqRMwRDWTZwjZ/IOOJqn4MO1UwbRIpAOWfrx0359Ic0COZ6upiJ3KJCn+ A4GbU90d9ln+n+Yo8hZTHZt/mEd8dOaPxcQJpgH0hRMUdZojyrxG4JxKzJG0Bo6Q zSNZWYW9mA3uy4R1VlpWw== X-ME-Sender: <xms:oBNpYxFs582nnurN0weX7a-dh1AE4Rt-UrR31TfoPTOan_O7wZ8s2Q> <xme:oBNpY2VlQjxHejPhsNAD-vXt_9AQYtj-8VtoUbcPYCTKHUgMhunYRfY3QU5dPHfwq mhS8vL5au6E2myX8wA> X-ME-Received: <xmr:oBNpYzJC2lX53895X-s-DbZW86aONoJQf2ChHIIndq8diMHQkVW20rjtDS-D5eOJ4VpYhB91HTaj-IZ6M-8w83dMoTtORW_DCbUEZ1UmzTjKhA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdekgdeiudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhfffuggfgtgfkfhgjvfevofesthekredtredtjeenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpedvgfevjefhtdetveevhfelieeuueetgfdvgeevkeegudejffegfffgtedt leelhfenucevlhhushhtvghrufhiiigvpeefnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: <xmx:oBNpY3GHYkwDWE_AY5LDkQ0MtLb-G4IwZPioFssCURqqiBGoQKP2mw> <xmx:oBNpY3X1EiIYw274h3rQLGhm1W2pV2vjvq2zXzWM7rUz6-WRMPpAXA> <xmx:oBNpYyM9XMm0Ms5HrsZrJqoYPcbKA5IUKdPGDfWv6htgptzNZBk3Ew> <xmx:oBNpYxivdaboTz6WJu8YhhHYxMBtvwo-YYfE2aPBpH2oj5H9fLWqIh-xo7M> Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Nov 2022 09:18:07 -0500 (EST) From: Maxime Ripard <maxime@cerno.tech> Date: Mon, 07 Nov 2022 15:16:45 +0100 Subject: [PATCH v7 19/23] drm/vc4: vec: Use TV Reset implementation MIME-Version: 1.0 Message-Id: <20220728-rpi-analog-tv-properties-v7-19-7072a478c6b3@cerno.tech> References: <20220728-rpi-analog-tv-properties-v7-0-7072a478c6b3@cerno.tech> In-Reply-To: <20220728-rpi-analog-tv-properties-v7-0-7072a478c6b3@cerno.tech> To: Jani Nikula <jani.nikula@linux.intel.com>, Joonas Lahtinen <joonas.lahtinen@linux.intel.com>, Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>, Ben Skeggs <bskeggs@redhat.com>, Rodrigo Vivi <rodrigo.vivi@intel.com>, Maxime Ripard <mripard@kernel.org>, Samuel Holland <samuel@sholland.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Emma Anholt <emma@anholt.net>, Karol Herbst <kherbst@redhat.com>, Daniel Vetter <daniel@ffwll.ch>, Chen-Yu Tsai <wens@csie.org>, Lyude Paul <lyude@redhat.com>, Thomas Zimmermann <tzimmermann@suse.de>, David Airlie <airlied@linux.ie> Cc: =?unknown-8bit?q?Phil_Elwell_=3Cphil=40raspberrypi=2Ecom=3E=2C_Maxime_Ri?= =?unknown-8bit?q?pard_=3Cmaxime=40cerno=2Etech=3E=2C_Hans_de_Goede_=3Chdego?= =?unknown-8bit?q?ede=40redhat=2Ecom=3E=2C?= =?unknown-8bit?q?_linux-sunxi=40lists=2Elinux=2Edev=2C_linux-kernel=40vger?= =?unknown-8bit?q?=2Ekernel=2Eorg=2C_Geert_Uytterhoeven_=3Cgeert=40linux-m68?= =?unknown-8bit?q?k=2Eorg=3E=2C?= =?unknown-8bit?q?_Dave_Stevenson_=3Cdave=2Estevenson=40raspberrypi=2Ecom=3E?= =?unknown-8bit?q?=2C_linux-arm-kernel=40lists=2Einfradead=2Eorg=2C_Dom_Cobl?= =?unknown-8bit?q?ey_=3Cdom=40raspberrypi=2Ecom=3E=2C?= =?unknown-8bit?q?_Mateusz_Kwiatkowski_=3Ckfyatek+publicgit=40gmail=2Ecom=3E?= =?unknown-8bit?q?=2C_dri-devel=40lists=2Efreedesktop=2Eorg=2C_intel-gfx=40l?= =?unknown-8bit?q?ists=2Efreedesktop=2Eorg=2C?= =?unknown-8bit?q?_nouveau=40lists=2Efreedesktop=2Eorg=2C_Noralf_Tr=C3=B8nnes?= =?unknown-8bit?q?_=3Cnoralf=40tronnes=2Eorg=3E?= X-Mailer: b4 0.11.0-dev-99e3a X-Developer-Signature: v=1; a=openpgp-sha256; l=1563; i=maxime@cerno.tech; h=from:subject:message-id; bh=6LiUnTDsFKEct00H/NRDhJCnVgRq8L+pVBYvvSqO2lQ=; b=owGbwMvMwCX2+D1vfrpE4FHG02pJDMmZwg7XPJ4n/JAt583ZZ8T199mOaQxfp6l57OWY1aFqLLAz sV+go5SFQYyLQVZMkSVG2HxJ3KlZrzvZ+ObBzGFlAhnCwMUpABMpEmJkOLnDNu3ArpaiOfnbAsS963 zOaEnonc8WLGXU/bnx/NlrFQx/eGQbTJMvJizzXiZ3Z6f7Ep2rF1xWPVR4WnFoF4PqND5BBgA= X-Developer-Key: i=maxime@cerno.tech; a=openpgp; fpr=BE5675C37E818C8B5764241C254BCFC56BF6CE8D X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_061811_727895_119A73A2 X-CRM114-Status: GOOD ( 10.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
drm: Analog TV Improvements
|
expand
|
diff --git a/drivers/gpu/drm/vc4/vc4_vec.c b/drivers/gpu/drm/vc4/vc4_vec.c index adc9bf99e3fd..90e375a8a8f9 100644 --- a/drivers/gpu/drm/vc4/vc4_vec.c +++ b/drivers/gpu/drm/vc4/vc4_vec.c @@ -268,6 +268,12 @@ vc4_vec_connector_detect(struct drm_connector *connector, bool force) return connector_status_unknown; } +static void vc4_vec_connector_reset(struct drm_connector *connector) +{ + drm_atomic_helper_connector_reset(connector); + drm_atomic_helper_connector_tv_reset(connector); +} + static int vc4_vec_connector_get_modes(struct drm_connector *connector) { struct drm_connector_state *state = connector->state; @@ -288,7 +294,7 @@ static int vc4_vec_connector_get_modes(struct drm_connector *connector) static const struct drm_connector_funcs vc4_vec_connector_funcs = { .detect = vc4_vec_connector_detect, .fill_modes = drm_helper_probe_single_connector_modes, - .reset = drm_atomic_helper_connector_reset, + .reset = vc4_vec_connector_reset, .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, };