From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.domeneshop.no (smtp.domeneshop.no [194.63.252.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7562117E6 for ; Sat, 24 Sep 2022 16:00:48 +0000 (UTC) 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=dwZRsmDVeY3hPHu1xwHcLrAi0vqgzA7VpfyX57zTqWw=; b=CjJSaYEwgNDdUx0A62dPxjWNK/ y6v8bF7B33ZsoLNUTScnumRLnnUyYaHgUc1h/N3qOmxYnIJa09FmEA8xMYoVeQvBWgYB1qq7uevDe l9k7Qf0w84hlQdluQucqcqRiHAIdFP29Thg/rHq2KW1yPO5UYf1ay/GhucFUzflN3ifjWkpJnppI9 0cNgwgUpGcTsgO+ktGhlPYNLIANmmUojCCgQdliaPszB/TQOiWZ9y5Qpele0BHrdvHfvMvUtn7X9W RM5DFMZTxY4MmqBkRXsSnpNC1Obg00bvdcON2uhi8R7+DkKcyg9Do+wC+A16KLfkec6PoqT+IMc5g Y9EpBwKw==; Received: from [2a01:799:961:d200:8cf6:761:40ec:1ff7] (port=53481) by smtp.domeneshop.no with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oc7a8-00036U-O6; Sat, 24 Sep 2022 18:00:44 +0200 Message-ID: Date: Sat, 24 Sep 2022 18:00:41 +0200 Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH v2 30/33] drm/vc4: vec: Check for VEC output constraints To: Maxime Ripard , Jernej Skrabec , Rodrigo Vivi , Ben Skeggs , David Airlie , Maxime Ripard , Joonas Lahtinen , Emma Anholt , Karol Herbst , Samuel Holland , Jani Nikula , Thomas Zimmermann , Daniel Vetter , Lyude Paul , Maarten Lankhorst , Tvrtko Ursulin , Chen-Yu Tsai Cc: Hans de Goede , nouveau@lists.freedesktop.org, Geert Uytterhoeven , Dave Stevenson , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Phil Elwell , intel-gfx@lists.freedesktop.org, Dom Cobley , linux-sunxi@lists.linux.dev, Mateusz Kwiatkowski , dri-devel@lists.freedesktop.org, =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= References: <20220728-rpi-analog-tv-properties-v2-0-f733a0ed9f90@cerno.tech> <20220728-rpi-analog-tv-properties-v2-30-f733a0ed9f90@cerno.tech> From: =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= In-Reply-To: <20220728-rpi-analog-tv-properties-v2-30-f733a0ed9f90@cerno.tech> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Den 22.09.2022 16.25, skrev Maxime Ripard: > From: Mateusz Kwiatkowski > > The VEC can accept pretty much any relatively reasonable mode, but still > has a bunch of constraints to meet. > > Let's create an atomic_check() implementation that will make sure we > don't end up accepting a non-functional mode. > > Signed-off-by: Mateusz Kwiatkowski > Signed-off-by: Maxime Ripard > Acked-by: Noralf Trønnes