From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 076C026F2A8 for ; Fri, 19 Dec 2025 18:57:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766170668; cv=none; b=ksIvYbC+l5cNnurEUjmvRFnfucGPJDdWHs46tcisFQsU55n3DMfJ+XZB/mtY8xQ8jiTbcRiaa1UpI4WQxGmautPJz5RjP8+13jmW3MjtzSDYZolr6EEfVcCwQj9E73CwiZGtcK+9vOLOQzSXGv6iAwuPVBy6QgHRoSXyjWXi+EE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766170668; c=relaxed/simple; bh=62ddBopRRLu0ubKjE6QHdAeNUlFTy9jJZ27XM0ILW2c=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=KS068Hypbnnq2EkEjLoV0Yhwq847z3j+DNcI9AR0jODmnkeYGDgiOC55iM3HZ2vu3QgJ9zMIN2dlS6qsIb8y1QHeBuxq856lLbSCM2MuhuEMADV36JJv93rrNhDNJdaSsB34A4+RoUWUKYUdBJicCBy28T1E7fzr7nUFux1y7vE= 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=snV9zI0c; arc=none smtp.client-ip=185.171.202.116 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="snV9zI0c" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id DBD74C1B20F; Fri, 19 Dec 2025 18:57:20 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 9D6DC6071D; Fri, 19 Dec 2025 18:57:45 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 372E9102F0CDA; Fri, 19 Dec 2025 19:57:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1766170661; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=dIa+0Pm+rJC3c2yDGt7NMsO5ovUl2mVYboACIUpoTq4=; b=snV9zI0c3jlzWG+O7rOGmD4AaNnAdT1vEdSper2xcvA+4k6VdqFk0n8rUWTd7fG7fdIo59 tAGa48MgpbtJQdvWWQiNGzEV0tqMauSFCytfEAo+jmEk0rTVU4lvMSZK9AT2yD8I6mCtAm CTZOLP6Ss574SxDh/tuNBAqzHj4uS0Hmfsie3gOiQLn7GCu/jlfzdKgwakEh8ZOI/MKoJz ukv2ib0H//2wiagIAVZ7lulOTOTQO0YejYWvefkyAbJ3/GsT7NvYo7aw5VpbsRa+N12qaN u7VvV2cHkyhku+fF3brkZjCuc57gXDIxEfPiiX7gZoH9oq00AdHoMtWXBtUPcQ== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 19 Dec 2025 19:57:37 +0100 Message-Id: Subject: Re: [PATCH RESEND v2 28/32] drm/vkms: Store the enabled/disabled status for connector Cc: , , , , , To: "Louis Chauvet" , "Haneen Mohammed" , "Simona Vetter" , "Melissa Wen" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , , "Jonathan Corbet" From: "Luca Ceresoli" X-Mailer: aerc 0.20.1 References: <20251029-vkms-all-config-v2-0-a49a2d4cba26@bootlin.com> <20251029-vkms-all-config-v2-28-a49a2d4cba26@bootlin.com> In-Reply-To: <20251029-vkms-all-config-v2-28-a49a2d4cba26@bootlin.com> X-Last-TLS-Session-Version: TLSv1.3 On Wed Oct 29, 2025 at 3:37 PM CET, Louis Chauvet wrote: > In order to prepare for dynamic connector configuration, we need to store > if a connector is dynamic and if it is enabled. > > The two new vkms_config_connector fields will helps for that. > > Co-developed-by: Jos=C3=A9 Exp=C3=B3sito > Signed-off-by: Jos=C3=A9 Exp=C3=B3sito > Signed-off-by: Louis Chauvet > --- a/drivers/gpu/drm/vkms/vkms_config.h > +++ b/drivers/gpu/drm/vkms/vkms_config.h > @@ -130,6 +130,8 @@ struct vkms_config_encoder { > * @link: Link to the others connector in vkms_config > * @type: Store the type of connector using DRM_MODE_CONNECTOR_* values > * @config: The vkms_config this connector belongs to > + * @dynamic: Store if a connector should be created with drm_connector_d= ynamic_init > + * @enabled: If @dynamic, this means that the correct is currently regis= tered in drm ^^^^^^^ "connector", I guess. With that fixed: Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com