Message ID | 20220728-rpi-analog-tv-properties-v5-18-d841cc64fe4b@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 78AACC4332F for <linux-arm-kernel@archiver.kernel.org>; Thu, 13 Oct 2022 13:39:38 +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=ieP5IOhAsPbf3cBUDzYTvFNyvAcLezJV/0His+ak1wA=; b=c5CgNFAVRXsvkb LYA5Z02/0cqqL4ezgyfJlVik1TL9iCwZD+0ssXB7thiLs81L5Gu8WzLXDHAOFkxortS7S5hq7LRPx 6I2d5StO3ViYjtarzeLZ4BC1MrIcYwONCSetqMyO3wTXFLNzgs4XpEm+6jGHDvSMAW11RDlOggmhX Ztrg0xKRhoCHkxfknZJ7p739Xm/G9eQySRxnd2hMur4kFSXf3VdUuuhvBHHmozPQ2PPdlyc0GDGs6 vjYlZHbSXSTZyluWDM9K4/rykZEUm1DmzOY0SgvYz9XO7Cr7Od9TxNIJ+6XSB0iwTal75jS8rEA7F gDlqYIK4FCzfBKpmFj+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiyPR-00Bv7r-1O; Thu, 13 Oct 2022 13:38:02 +0000 Received: from new3-smtp.messagingengine.com ([66.111.4.229]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiy7i-00Boda-H4 for linux-arm-kernel@lists.infradead.org; Thu, 13 Oct 2022 13:19:44 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id E6DA4580361; Thu, 13 Oct 2022 09:19:41 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 13 Oct 2022 09:19:41 -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:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1665667181; x= 1665674381; bh=z0OXWHl7ZXnpGXDQYtwuUl6hXegl5+VuHozOBqRQcks=; b=E S71f/Pd/dH8o4OCP2chnUqrw8qCzfsZdtoO1mvXoj3JnnuxAx5NiFM1+SlqaHKWy zwredet+geEiUeO1Es6HQ5xHamyAIGzwMbgejJ4OQFGOS+z1IR/B7KOZzN1/BwjF XIOUn2NwqbZ3gIjMzegcJ2uZpZr9BV04dfIPVggHWB831XAe+4qye2VEJ3G9Y4O8 2iHrgEi0I+vHnxpu9h0T5IW33TFjKItzlbrn8HFwyHIDxq5JbV1Dos5RvR4qevN3 0vkcPEay9uN5ku1qeQKCJYAaB+9bHzA7Gs6tJWmtPcXAxnsoA4useYsh/nRxrq+J jYmndD+ygF3uWGVenzTLA== 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=fm3; t=1665667181; x= 1665674381; bh=z0OXWHl7ZXnpGXDQYtwuUl6hXegl5+VuHozOBqRQcks=; b=A sEJ5xjAFmEkcasfih3XIEwaQofxaQ6/MmCO37MYEOwNWxzOhCYugCOflJADlcBVx FzzWb/+/B83Y2CAZ+yhClwOWFNBATpDcvBZCDbOVkrKblupOOUaQIrtDLEmt6PAY mlByQgpzP8xXX2P9STkC+QytyPd4zEb1e+oCo9czkcBP3hLgnZlAGxzFlMbAwXb/ Tw8FhmeDLS97+pnazKl/+626u4mzKLOPQIDp86FxA0DcxHnA+2JqetuwsgVgBMbL PjSdyl0w1SaV8W8pdlDKvKJE/82+0TykThsMbvoz07z0PKYEtuf3ikjoOMB67n1i 9hh/psx48nGVWTUNjbhvw== X-ME-Sender: <xms:bRBIYxWRHorHDtPxOYXLlno2KEi4b_HF-5iWmeIy_YAYexX1pOei3w> <xme:bRBIYxnAroIUpDVgpGFr1s6TSZy2MA2ibdJlo9b4vThy6SnWMudrTorVyFlFRPvj- 3jBlKpLEPrrtyqmhT4> X-ME-Received: <xmr:bRBIY9aYamGEH1bz4068SOyfxpd0LO0hxPknZvIIWpVKE2rvnvKVGUZTSHwxAs5MPhaUl8KabvUmuX9pSc8cK51BQTNyM6PfK8xT> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeektddgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufgggfgtkfhfjgfvvefosehtkeertdertdejnecuhfhrohhmpeforgig ihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrf grthhtvghrnhepvdfgveejhfdtteevvefhleeiueeutefgvdegveekgedujeffgeffgfet tdellefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: <xmx:bRBIY0XD3v0xHqjDGiSL7ovXvOB-cc5BK8wWudbGy3moNv4NSOT_Pw> <xmx:bRBIY7nmKFFqwLwJiR_mFVUkKF876obwaF81hDMQOm8oMJwRwpOcTQ> <xmx:bRBIYxcPJ-_q7wRUea6GkaGvjtDl-aJFIh7w0CoWMQZAxgB0WQCWGw> <xmx:bRBIY_yNBjVIqFaNmMlqIEK3iTZqr3BGcAZ71sGrCV5yMDBe8dSMCg> Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Oct 2022 09:19:41 -0400 (EDT) From: Maxime Ripard <maxime@cerno.tech> Date: Thu, 13 Oct 2022 15:19:02 +0200 Subject: [PATCH v5 18/22] drm/vc4: vec: Use TV Reset implementation MIME-Version: 1.0 Message-Id: <20220728-rpi-analog-tv-properties-v5-18-d841cc64fe4b@cerno.tech> References: <20220728-rpi-analog-tv-properties-v5-0-d841cc64fe4b@cerno.tech> In-Reply-To: <20220728-rpi-analog-tv-properties-v5-0-d841cc64fe4b@cerno.tech> To: Karol Herbst <kherbst@redhat.com>, Jani Nikula <jani.nikula@linux.intel.com>, Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>, Daniel Vetter <daniel@ffwll.ch>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, David Airlie <airlied@linux.ie>, Joonas Lahtinen <joonas.lahtinen@linux.intel.com>, Lyude Paul <lyude@redhat.com>, Maxime Ripard <mripard@kernel.org>, Emma Anholt <emma@anholt.net>, Chen-Yu Tsai <wens@csie.org>, Samuel Holland <samuel@sholland.org>, Ben Skeggs <bskeggs@redhat.com>, Thomas Zimmermann <tzimmermann@suse.de>, Rodrigo Vivi <rodrigo.vivi@intel.com>, Jernej Skrabec <jernej.skrabec@gmail.com> Cc: =?unknown-8bit?q?Dom_Cobley_=3Cdom=40raspberrypi=2Ecom=3E=2C_Maxime_Ripa?= =?unknown-8bit?q?rd_=3Cmaxime=40cerno=2Etech=3E=2C_linux-sunxi=40lists=2Eli?= =?unknown-8bit?q?nux=2Edev=2C?= =?unknown-8bit?q?_Dave_Stevenson_=3Cdave=2Estevenson=40raspberrypi=2Ecom=3E?= =?unknown-8bit?q?=2C_Noralf_Tr=C3=B8nnes_=3Cnoralf=40tronnes=2Eorg=3E=2C_in?= =?unknown-8bit?q?tel-gfx=40lists=2Efreedesktop=2Eorg=2C?= =?unknown-8bit?q?_linux-kernel=40vger=2Ekernel=2Eorg=2C_nouveau=40lists=2Efr?= =?unknown-8bit?q?eedesktop=2Eorg=2C_Geert_Uytterhoeven_=3Cgeert=40linux-m68?= =?unknown-8bit?q?k=2Eorg=3E=2C?= =?unknown-8bit?q?_linux-arm-kernel=40lists=2Einfradead=2Eorg=2C_Mateusz_Kwia?= =?unknown-8bit?q?tkowski_=3Ckfyatek+publicgit=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_dri-devel=40lists=2Efreedesktop=2Eorg=2C_Hans_de_Goede_=3C?= =?unknown-8bit?q?hdegoede=40redhat=2Ecom=3E=2C_Phil_Elwell_=3Cphil=40raspbe?= =?unknown-8bit?q?rrypi=2Ecom=3E?= X-Mailer: b4 0.11.0-dev-7da52 X-Developer-Signature: v=1; a=openpgp-sha256; l=1563; i=maxime@cerno.tech; h=from:subject:message-id; bh=6QTCuhxSwU/zFGvIlKtnq3tv/dSlBBSEnBrOyUAJMx8=; b=owGbwMvMwCX2+D1vfrpE4FHG02pJDMkeAu7LnLN5bn/Nv/g//Am7HfduD48t51q+6ib6Hn/GpLVz seDnjlIWBjEuBlkxRZYYYfMlcadmve5k45sHM4eVCWQIAxenAEwk14ORYcsNf6nad0adDRPFtp6rk1 wh/a7hsz7Tbv7fR4WaT7wLsWb4H1jumCvKn7R5/q0aZ5/6Y5uX3/k855YrS6CnluwN309RTAA= 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-20221013_061942_717357_FA8EEA44 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. 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, };