Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp863315lqp; Thu, 23 May 2024 02:12:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPCsdLtey7S+2C/SLafRXiwADWYh3Ao6aaMvWQfbnvTl2J38ceCChHC8d1j5kq3pdCBe4HRIEhy1Uxmv+RNBpYjyeNlrO4W6X45Rm/tg== X-Google-Smtp-Source: AGHT+IFQxM+w2NXAL3S68MLjjbZtAE6CRFCj7nUbYiQ1F89mmoruPSE3oPQydYra4S8/pTg6J5Ry X-Received: by 2002:a05:6214:3b85:b0:6ab:70a2:d582 with SMTP id 6a1803df08f44-6ab7f332cc2mr50410496d6.10.1716455567080; Thu, 23 May 2024 02:12:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716455567; cv=pass; d=google.com; s=arc-20160816; b=JAJADrM15Cm/kciWP5E9jDyTsMz9UHVdWZ/wNL6mBDBV9aWU5JrN9tQsoAS9H/QE/Y sziuKc2lHQ7hPXNP6j8uwYjeto2Y5Y3O1ptM5l9/CeQJceuN5BELHZWuLgO7lmpdUuIw vJ6RA6mCTrtR1ICH7WFJcPUCZfx0CcdK3nUwUfTvoO4j8bYiBsBhSSomdgnMDz19RgxQ x0wwpGuxGglgFvc6q1LnaprZTTRcmW7lF6vEPvYT3rDxZX2CyDi4qzHjABj1HmOiuwTP z7s/Axhif3jo6bh+OtPeSnHPME/YZt9mAm+JlOrcrcHg0PHI+4JI0j4cQgBpV0ool/PQ tpAQ== 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=YeQACHVYvjXLcJmL0mtvqm0YtmyCm9cGr2iJkKX/fdc=; fh=28fs/UGt5dTL44RXMSAkBKZni1uWHsWeot1oztSCLaU=; b=vJgjtSG7Bighw0oXlIqVtgN/jcm9548BymDS/bW2tMFNOGiqcZtqEQs91SA9dOr3kT IJlPz+Oe/s+dcnHf5WsLJgGTSbn/XjY5evKZLfo1MHryYUity1SusWBpBIM1Yc79PP9c nN7GSET+SSBWBwH17ymyRG/nZ5DjjZTl4/X6JvgHYRlBqGURf4Eugw3EdcGTv3s0v7nl LHQk08jiAKNrig2oDSiuS6hJNOsWoHB6sZzjcgD1/R03hqPC1FyCSTORxZeEx+8VN5ff 8r1nmA+Q1s9Az0v14/zQYqT4o5phCz+Ao+jKbbgIt8zTGKNxOVccyqXsEWq9BXA3gWNM qxGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="CBIkKc/u"; 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-187226-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187226-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6aacfc449c1si885916d6.533.2024.05.23.02.12.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 02:12:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187226-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="CBIkKc/u"; 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-187226-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187226-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C52691C20C0E for ; Thu, 23 May 2024 09:12:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AAD313D27F; Thu, 23 May 2024 09:12:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CBIkKc/u" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 29D6513D240 for ; Thu, 23 May 2024 09:12:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716455557; cv=none; b=M4vVfXGky8Z4e9p9FXogomy8yRVqIt2NJVZHdI1zXNY17J2x8avmZDEJaAMh+asc7KCS/6u1GdhKB/8AP34Gcvua+5d0tvXaMEPqBN6xWHD4K14G6CaUPbmpMeM+ngsS9tcpL42Sqt7Xn17qJWk4qjJg4PvrrvPD4dDqBJOoQk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716455557; c=relaxed/simple; bh=ua1ab30hbc2oLjmJi5p/l09P2vR0shXcHuLe8ZoBnaY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i1xB2L9//H2NR15rKZsp7JEJdiMmqevV/rRXW+mGvBQLkMan5qiNPJOMXEk8d11nV8RoTpk0H2ULYWnI9GC6q8nHRDuw73XTv/spIdIoi7NkXDfwI6OTl3sk8zbTu2UUnbOTPAFIRE352vm6+kooM6ufZCvdcURqJajplEgZUNg= 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=CBIkKc/u; arc=none smtp.client-ip=209.85.208.169 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-lj1-f169.google.com with SMTP id 38308e7fff4ca-2e271acb015so96883211fa.1 for ; Thu, 23 May 2024 02:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716455554; x=1717060354; 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=YeQACHVYvjXLcJmL0mtvqm0YtmyCm9cGr2iJkKX/fdc=; b=CBIkKc/ueLGFzqk8JzZPjPm9nqrQpj/XZd8m5V2ab+7MdlauhtamJYKM45AI81/yeP nugIPoG7gYqisjezrxg5dQwTW8BuwLLWy5cXnPICUB3w/SMYAxsLJ7iB08US8kWFobWI 2EODEUTkOhikG8312W+dxZsqgOh05/7hZwhdxz0fc9i/qg/FLu3DxMiEdD2z57JZ/p2o ZgPM0KsTzYaICHKCuVHj538clESqcavf0GXPjcR/fmP2J18k5xD+Jz4HItSr2zCSHCgg y+c3Jqk6Pu3qOZs57sKDzMqobW9pbA4VK6sEnle3wbaPAURJ6lI6gm0BrD9DvlESR0ve H2Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716455554; x=1717060354; 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=YeQACHVYvjXLcJmL0mtvqm0YtmyCm9cGr2iJkKX/fdc=; b=bpYoqTxcFT7ErAutjlVV90tO4dPK64/XaCRqm3P7Uzf1OoCRTzY0XvQTDZE5mEl4yT mE1GH0q06dRtfS+WnISg21sXIxfFHc0ojV+1gLISxnIj+fkSl4RVdzzk7BgwFjNEv2Ws rQ/rcIkClqWreBFQM03kX1x7xU+vShH9kZSSGdaeoW2yy45yqqoWG564KK6cGOotMJwq IuQ9OWKi2a8DxLRooyxDoFDfcVb1V0fycj3QFc90EFfX8gCK8voJIUQeGOT6op6wOGxf fN5ATd7IOlRW3sK9rMyJPJQ1/3hwHC6s7VfR15pblhvJOmFV8xicVMqst4rCiAQZOcmw Vy7w== X-Forwarded-Encrypted: i=1; AJvYcCXSdPAdAvJ8Rn1GdRaX5mnMTH9uC8GR5zXjSBdmealH62vf42MqttVBVLE4T+iGlhTUWSsIiWADYu6oIRI7674mPMayUgF2VEMBZ1wT X-Gm-Message-State: AOJu0YzV5bFnxqyLVk91rhSI9mq4V2AfWlud9evoxgRuWN2WbhO2OdXG xUATSUDg4aSWaK3SHQWjkPdwCB80kDsDjQfIF6qzDzhJlsV7mXXGGnpG9JvwMTQ= X-Received: by 2002:a2e:8797:0:b0:2da:9ed:9b43 with SMTP id 38308e7fff4ca-2e9494bdbcbmr26440181fa.31.1716455554344; Thu, 23 May 2024 02:12:34 -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 38308e7fff4ca-2e4d15158c4sm41368191fa.73.2024.05.23.02.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 02:12:33 -0700 (PDT) Date: Thu, 23 May 2024 12:12:32 +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 Subject: Re: [PATCH v14 07/28] drm/connector: hdmi: Add support for output format Message-ID: References: <20240521-kms-hdmi-connector-state-v14-0-51950db4fedb@kernel.org> <20240521-kms-hdmi-connector-state-v14-7-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-7-51950db4fedb@kernel.org> On Tue, May 21, 2024 at 12:13:40PM +0200, Maxime Ripard wrote: > Just like BPC, we'll add support for automatic selection of the output > format for HDMI connectors. > > Let's add the needed defaults and fields for now. > > Reviewed-by: Dave Stevenson > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/display/drm_hdmi_state_helper.c | 3 ++- > drivers/gpu/drm/drm_atomic.c | 2 ++ > drivers/gpu/drm/drm_connector.c | 31 ++++++++++++++++++++++ > drivers/gpu/drm/tests/drm_connector_test.c | 9 +++++++ > drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c | 22 +++++++++++---- > include/drm/drm_connector.h | 20 ++++++++++++++ > 6 files changed, 81 insertions(+), 6 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry