Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp637104lqp; Wed, 22 May 2024 15:17:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUozvpkcYIGX8ByMg6+i7DaGqrsgZhIda3CXUbwrmuNVh/80EkSF+7TCxbuWupw8LwDYkJPXNYDZJu4TgLlPbHKqiAWlKWtZmf8wVZvxQ== X-Google-Smtp-Source: AGHT+IGMW6pBeuaI9Z5KSc1xpotQmmCvvt0gkyFkNUMX9P4jT822J6tpH2MJmVw24bVipMbGrm8C X-Received: by 2002:a17:906:49b:b0:a61:4224:c998 with SMTP id a640c23a62f3a-a62281c92f2mr195940566b.54.1716416264424; Wed, 22 May 2024 15:17:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716416264; cv=pass; d=google.com; s=arc-20160816; b=ehapkFgyBdK+C9VAdXafzVOyF4X3SyC+XZW+h9zNc4H4eIjSLz0BRGsl638gXGCuVM w0bUDH1i00f0z4YMRPJj2hp50rGowFocmI5MHbLao/iYl54sb8JNgPeK1XVoNyknN3tD ouOYjJHbX/gEjcMy7Ve90JrEayo5PAkaztKFRQygJTXKqDPAgr7T3VQ7USnkZLR6dwBw 7MxCw6MjZJg3SYc3bogXdv6/sGufuQzxqRBfoK0FFa8FmOPh701Xlz/Cp5IdbtSNsRGK ETGr21pdqfE60hjH2LOfGGoaRvbm1k4Z+b4dv53azp+n9prmRtm3dT4SA8sqRWp0L6Gi JSjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MKjPVo1pobuPoRvHj1uEO1HEyVXXDgMeLw2a17VZbrU=; fh=XFHCM6UC03g/vVyLFhe8OGO870+276kM5IxW/LwegXs=; b=cnmenjHuqhLGg5pTeSOrsccVBdjzUF9/Djt1BZe5lV631FNGSdztQ2IzQk9XW7G/U1 nbCrxP+77rOxPN+5bAjoTGzUqUop2ueygt5SJwCpAcEr554ECHelaw2IYcGzMxqHbHDJ OY0cdLPp3n7vPNpALszn0mEDKJ2q6ieOeM3FzQ2CwqbbZcZfEaHwCv+Iwsk9n8Uuu4Wv ZkJGPmbUe9ar6eUrQZMuKiBN+UCI1MAykoo29X80w82BR6+n0Vzg26959XVJAehDDOoS 1NI+iltfXU3l0iXpcUnzvXJ4uCv/nHReb7TX/E9FfG3eN5h8i5LnATxHUQVgfYLqPC3Y MFxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pIou0Jad; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-186773-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186773-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be675dsi1592625566b.731.2024.05.22.15.17.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 15:17:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186773-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pIou0Jad; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-186773-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186773-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BE9451F22294 for ; Wed, 22 May 2024 22:17:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C1E5146D66; Wed, 22 May 2024 22:17:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pIou0Jad" Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 329EB7EF0C for ; Wed, 22 May 2024 22:17:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716416246; cv=none; b=XgD9oejgc5fJ8fLWBIZd/RneyjqGbZ5GFrydRwTaBGYQqhcPE1mRCC8Mm4zKdjGAhfz+sfckavpKieGho7EEt4bTqfEbf1gghdHuR5Q1c1bCzNOVoeaX9TC8HZrXV80drvUKDjJmqfp+Y+KRVXlo47yuidnjPd1yDDxQmn500nI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716416246; c=relaxed/simple; bh=//b3G9sO2gtB09XWop8ljHzV1PwbXxvr5BFI95w+WaQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZvbYYNuzIXpsuQHrYYOvBbjVZgmae+BttjTZ6gEA9eUcvxLbBIWFndEdy0bcyFRjUiYHnzuC8x7J9ZwqhP3XVncBOR5MOZF07dv88yovPTjcw8SyqTqwKlPU7mNj2eBaj4KftasesxX7KRxgp+vuCcafxkJtiJXkp87P/4LQfwg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=pIou0Jad; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-52389c1308dso7028904e87.3 for ; Wed, 22 May 2024 15:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716416243; x=1717021043; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=MKjPVo1pobuPoRvHj1uEO1HEyVXXDgMeLw2a17VZbrU=; b=pIou0JadJtTNVc97IdoU3ZGq1C2v/ewz3yNmZK2cC9hBj05YsUHzvEaDTXYYNTxk0u 7uxABa1eRUkFaQQkaKn6e/AjX7hv1/+jZuiEDDILImpcG2cFF3Vke7+25sz4BmzMraEZ hSy4Iux9b2ie1k5QsCUqSWcoejGizUQn873MX5sOfLyyoPNnMZInavJ9R1cLCQfZVVIt Vw0zZTYDFRo9wmtCXu3+1BvpSbHsrZwYYrBsTyCCOFgatcHf9fMkyosPDQl1AySLMcdM MHDQFgXrWyE9EmvoQr8p6T77aoslLtaPLHllS9pPqxMV/TC8OgmV6hy7u1YppiF6woAw RzIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716416243; x=1717021043; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MKjPVo1pobuPoRvHj1uEO1HEyVXXDgMeLw2a17VZbrU=; b=EbdIFTkSK77RdNLsY0Ne9jJX5IF5osP+7aWu+lmFSlvRvc958hSpK4awOKg0K81XcQ +yjwa0ltZq1LUCCvea2fRoUlzzpgW1i4A4wHpR4AG8sicrC4ho4eotLS2DSefYrd/8gy LC0e4MXiTWw94qBmxYLJNZ/x3d3iGqFHFQj0Qaq6wb5hECPxtpwPsvb7GX9klhp409AD 8Z+pjeNThIfh3AbJaVhHNAUpS4984LcYYbqScsRo4Gw4iHh2WKyx/2OCpVGd05Vkksl/ UyDFNrxtllMifn7QNaUms5+0pjFeJuzy/HWUM1YnmmIWPCrUhabblxlMK4YvsDO5yrvM goKg== X-Forwarded-Encrypted: i=1; AJvYcCVUD/+1h63KWXnE/6AzZ2zOvzRJ0m1cvBkoaW5ETXZyFGlp85sz3uugSdTvpd2sjBBBRhVeFB9ghjmeTRyDu5NRtkTcHs3cZcALOoR7 X-Gm-Message-State: AOJu0YzXkj0L/EHdVonwJf+tHjC9vmOO3xnYeuSs1JQsh4NQVCw1jYDR 4LPghU55uJdrlpsF/wyfvYd/bzHQykn2i34meR/A76apFq+CjOS3qOqyx1hu2SA= X-Received: by 2002:ac2:4c95:0:b0:523:72b8:8002 with SMTP id 2adb3069b0e04-526be315f14mr1967940e87.30.1716416243518; Wed, 22 May 2024 15:17:23 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-521f38d8b66sm5075515e87.195.2024.05.22.15.17.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 15:17:23 -0700 (PDT) Date: Thu, 23 May 2024 01:17:21 +0300 From: Dmitry Baryshkov To: Maxime Ripard Cc: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Jonathan Corbet , Sandy Huang , Heiko =?utf-8?Q?St=C3=BCbner?= , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Andy Yan , Hans Verkuil , Sebastian Wick , Ville =?utf-8?B?U3lyasOkbMOk?= , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-sunxi@lists.linux.dev, Dave Stevenson , Sui Jingfeng Subject: Re: [PATCH v14 04/28] drm/connector: hdmi: Create an HDMI sub-state Message-ID: References: <20240521-kms-hdmi-connector-state-v14-0-51950db4fedb@kernel.org> <20240521-kms-hdmi-connector-state-v14-4-51950db4fedb@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240521-kms-hdmi-connector-state-v14-4-51950db4fedb@kernel.org> On Tue, May 21, 2024 at 12:13:37PM +0200, Maxime Ripard wrote: > The next features we will need to share across drivers will need to > store some parameters for drivers to use, such as the selected output > format. > > Let's create a new connector sub-state dedicated to HDMI controllers, > that will eventually store everything we need. > > Reviewed-by: Dave Stevenson > Reviewed-by: Sui Jingfeng > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/display/Kconfig | 7 +++++ > drivers/gpu/drm/display/Makefile | 2 ++ > drivers/gpu/drm/display/drm_hdmi_state_helper.c | 41 +++++++++++++++++++++++++ > include/drm/display/drm_hdmi_state_helper.h | 16 ++++++++++ > include/drm/drm_connector.h | 7 +++++ > 5 files changed, 73 insertions(+) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry