From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 84C901E9B3A for ; Thu, 30 Jan 2025 13:48:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738244909; cv=none; b=NmbGfwDXFC0rnam7ZIwNMwrK4Y5v04RKH+h3dAqaVpySqnaF8Rg2DmaMlNosD+hQP+2xl4IWbMdaXn18lH2PlUSZ/iGBuV1/20i4IOPbHdwhJWW5v7g4bihnj9P+ZbHmIBKIfJtjZdnjB3CxIQ/tATh8ygfQkSOsS80sQQbdv6Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738244909; c=relaxed/simple; bh=uosMr3ido0jdK60hz8utoDIoA6dCe6E2IfX8Qpd/dZI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NlA9A8jMjtJwPYvZ5k20sah9yCcPKLy9ZKFa6lHYEH3FCpnYo/P0w0OFSwesuQClmI6PaUvq/Xt4KbRFhXGmLcoJIFHe6WF57+LKiakgeH2dYvEtBolAfWJbWDP9JkCu6ey1W2IX8ZY6clSioIBU3uaOh/e//ZfKGe3DlteCgJo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=oqKusTld; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="oqKusTld" Received: by mail.gandi.net (Postfix) with ESMTPSA id 3AB5E204AE; Thu, 30 Jan 2025 13:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1738244900; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=++FD+37+fF2GBVlRAI7PCw2qn3A4ef7HAkSbJ05e3dg=; b=oqKusTldtU9uwV5uq9s0dH96otv0e43ne6I1FRY5v1VMwvxXGbW+B7xLj3/ERc5EcN9JPd 7s6M3YoilKk5yKVtHoLXoKROoKu8UEz9FSr/tqL+TJ5EquUb0fWc7awbHtOTWXtpKfH19V BseAyuaFUgtha4jub2DfJz/k1qGazJ9KGqugpszRj/vu0WcFBN3TCy7fnbKN7RVLTzY3k2 +Ul/9eBXtMWI38sn7tNTUqaTAOV3oL0ihhQi8YveGQBA7XUf1T5O0gnjrhBSroTlnWngTJ 5jJa36dnQjEt60Bb9tV3aFVOwOadnEY9nfExUJ4tfdZxi1nVEmJqTlB6/x9c4g== Date: Thu, 30 Jan 2025 14:48:17 +0100 From: Louis Chauvet To: =?iso-8859-1?Q?Jos=E9_Exp=F3sito?= Cc: hamohammed.sa@gmail.com, simona@ffwll.ch, melissa.srw@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 06/13] drm/vkms: Add a validation function for VKMS configuration Message-ID: Mail-Followup-To: =?iso-8859-1?Q?Jos=E9_Exp=F3sito?= , hamohammed.sa@gmail.com, simona@ffwll.ch, melissa.srw@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20250129110059.12199-1-jose.exposito89@gmail.com> <20250129110059.12199-7-jose.exposito89@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250129110059.12199-7-jose.exposito89@gmail.com> X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdehleejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvvefukfhfgggtugfgjgesthekredttddtudenucfhrhhomhepnfhouhhishcuvehhrghuvhgvthcuoehlohhuihhsrdgthhgruhhvvghtsegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpefgjeevteekvdelteduuedugeefjeehueejfeekgfdtuefgteefuedtveeikedvkeenucfkphepledtrdekledrudeifedruddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeltddrkeelrdduieefrdduvdejpdhhvghloheplhhouhhishdqtghhrghuvhgvthdqlhgrphhtohhppdhmrghilhhfrhhomheplhhouhhishdrtghhrghuvhgvthessghoohhtlhhinhdrtghomhdpnhgspghrtghpthhtohepuddtpdhrtghpthhtohepjhhoshgvrdgvgihpohhsihhtohekleesghhmrghilhdrtghomhdprhgtphhtthhopehhrghmohhhrghmmhgvugdrshgrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepshhimhhonhgrsehffhiflhhlrdgthhdprhgtphhtthhopehmvghlihhsshgrrdhsrhifsehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhgrrghrthgvnhdrlhgrnhhkhhhorhhst heslhhinhhugidrihhnthgvlhdrtghomhdprhgtphhtthhopehmrhhiphgrrhgusehkvghrnhgvlhdrohhrghdprhgtphhtthhopehtiihimhhmvghrmhgrnhhnsehsuhhsvgdruggvpdhrtghpthhtoheprghirhhlihgvugesghhmrghilhdrtghomh X-GND-Sasl: louis.chauvet@bootlin.com On 29/01/25 - 12:00, José Expósito wrote: > From: Louis Chauvet > > As the configuration will be used by userspace, add a validator to avoid > creating a broken DRM device. > > For the moment, the function always returns true, but rules will be > added in future patches. > > Signed-off-by: José Expósito > Signed-off-by: Louis Chauvet Co-developped-by: Louis Chauvet Signed-off-by: Louis Chauvet Signed-off-by: José Expósito (the last SoB should always be the one sending the mail) Reviewed-by: Louis Chauvet