Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4534258rwe; Tue, 30 Aug 2022 11:53:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR6jvBv80bh/YD5IGSu31A2S1JY9FRjp3MPEPtkrfaRDa92jV0fGER/DZOi7LUkFWxozN3G0 X-Received: by 2002:a05:6402:1f02:b0:445:f674:eac0 with SMTP id b2-20020a0564021f0200b00445f674eac0mr20869048edb.370.1661885607753; Tue, 30 Aug 2022 11:53:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661885607; cv=none; d=google.com; s=arc-20160816; b=IlzOSSvlz8F9S7E1+nthK5eGtttbpbWT3nVJS/5xZ3LX0JOGhYWbUUhJ+02c7nUKnH NI//V1BI3Snyaa4Iozc1ZPjb+PZfhxoH3aADf2exSrdhPCsm4gVQuxVA12ZC08dqyPJV igBt7tY9HwJ/klRQfWaDZdm1oHien87p90KXBgphFSIVKHGNXICLJsI4NqEHeq0gbnu2 MA+/fmJJQaKqwWqt+tvKj+enJMgYlPeQhaHTuHChtBjPiH/1pQFGnDsfUzdSUojBQVLe 2MKBt//Mp3IYzr2B4K45VH1ru+f6dpkRyrXPR3yYmUSutBuWu5I895JGgPb4aH+YSQiL S/oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=OPfU7EYvarB45fWQzZdu0npVFhUWUeYhIkhCHgTEXEU=; b=QgPZK1HXQAl18T3U1UzmSbUyUQV5j6q5EPmCsNSzAhndDkCByAqK+1eqlXvdFcyQaq 8m465Z+gS99WPyesx38cLDv09tUgV+0HiAT4sd/zbffV6xj5tlxl+AU8d50ALEtogyAL Yk2wNOT5M7TqMv/kmEvggRqjA7iwxPjdwZ5ZXf4W7dWaq4vQL+31rBvEIV3I3JpUIzbu PUp23hsfKtBkCBspxUtmerFo0OdB4EvnwRxCtNkgLGaZeVlXQiUI1sgZDWmMOfW3phGz V8htpOfB1g4jfTxMW5y6CvBB4jo8TKPsSWUhdLyvnb2GVFiO6MgZ83+TpWy+alWXptUb tUVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@tronnes.org header.s=ds202112 header.b=WArebUZ5; 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=fail (p=NONE sp=NONE dis=NONE) header.from=tronnes.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a056402519100b0044075446a5esi2795175edd.579.2022.08.30.11.53.00; Tue, 30 Aug 2022 11:53:27 -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=fail header.i=@tronnes.org header.s=ds202112 header.b=WArebUZ5; 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=fail (p=NONE sp=NONE dis=NONE) header.from=tronnes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229775AbiH3Sk6 (ORCPT + 99 others); Tue, 30 Aug 2022 14:40:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231330AbiH3Skr (ORCPT ); Tue, 30 Aug 2022 14:40:47 -0400 Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2460030543 for ; Tue, 30 Aug 2022 11:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org ; s=ds202112; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OPfU7EYvarB45fWQzZdu0npVFhUWUeYhIkhCHgTEXEU=; b=WArebUZ5eRHEbo/xVMgkMZSLes jzhnj8ZYA3rVVx333C5sHfxnwCw4yp7NDivwj0xXBZaIM7kwOo6oW02ySkmM7CzZ0GeKoCRmin3YT bYMxZbjbb+AYmGl2RqNlC1MNnR7dvVIzy8JSkW3/TaJ4z3vsTjSDCUqW4kVto8Z3IcB5UiKpXsTK5 7e3FVIPzXpUBbQIsIWLLeKllnzpfkPULWZL+KP+OQhG+inbbNnNFPEZBLFclgRb8Vhrcxyvr4hQ1R GNeuIKpRreVkJUkOX6nA/iXydR66BLaw195ceitrDvs39ZL5PSFoYPeX2vn44HmD1Ke3prLjfzCRU DI8u7kAg==; Received: from [2a01:799:961:d200:cca0:57ac:c55d:a485] (port=62725) by smtp.domeneshop.no with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oT6AF-0000TL-0c; Tue, 30 Aug 2022 20:40:43 +0200 Message-ID: <1ba93c71-44f3-dafc-443f-2d77c94ae5da@tronnes.org> Date: Tue, 30 Aug 2022 20:40:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v2 22/41] drm/atomic-helper: Add a TV properties reset helper To: Maxime Ripard , Maxime Ripard , Ben Skeggs , David Airlie , Chen-Yu Tsai , Thomas Zimmermann , Jani Nikula , Lyude Paul , Philipp Zabel , Maarten Lankhorst , Rodrigo Vivi , Tvrtko Ursulin , Jernej Skrabec , Samuel Holland , Karol Herbst , Emma Anholt , Daniel Vetter , Joonas Lahtinen Cc: Hans de Goede , linux-arm-kernel@lists.infradead.org, Phil Elwell , intel-gfx@lists.freedesktop.org, Dave Stevenson , dri-devel@lists.freedesktop.org, Dom Cobley , linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org, linux-sunxi@lists.linux.dev, Mateusz Kwiatkowski , Geert Uytterhoeven , =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= References: <20220728-rpi-analog-tv-properties-v2-0-459522d653a7@cerno.tech> <20220728-rpi-analog-tv-properties-v2-22-459522d653a7@cerno.tech> From: =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= In-Reply-To: <20220728-rpi-analog-tv-properties-v2-22-459522d653a7@cerno.tech> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org Den 29.08.2022 15.11, skrev Maxime Ripard: > The drm_tv_create_properties() function will create a bunch of properties, > > but it's up to each and every driver using that function to properly reset > > the state of these properties leading to inconsistent behaviours. > > > > Let's create a helper that will take care of it. > > > > Signed-off-by: Maxime Ripard > Reviewed-by: Noralf Trønnes