From patchwork Fri Oct 18 21:10:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13842424 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 B87F018D627 for ; Fri, 18 Oct 2024 21:10:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729285843; cv=none; b=q5n+qMpDQaS/wvD7lp0m0b0xFrRiEWVLmv8tonyYA2MgVJzuz3arc6T9lwFvdFS5HyKrSQseX/SYXRGt/IIGgFCpCSDVPa7N4iU1w1rUOm4ilW3egq7XfJ5tegIzelyIy0uUBPdB/3HNfZc6IKbAOvvEFZn+dttvuw5GhRtlm7E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729285843; c=relaxed/simple; bh=A3EGjKxsej0bqYegaiMoauAyA0UdndhPqjQLZupQTLg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=k1f1BYINuDKj3MiXIwy1UYihFIpS0TTNUqqeoXgzebFY+IJxq6YezMvZZp175YPK3/+0i/rTRoN4/fucqTJ4yFmOR/AwclOxZBq3K0YzwjvHmJzfXbVBiJT795g4FIdZ91NBk0G0nVMHz6cY5FbL09XH9iB+ICeXgnQCxnee91Q= 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=zHK5sr5K; arc=none smtp.client-ip=209.85.167.51 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zHK5sr5K" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-539e8607c2aso2930966e87.3 for ; Fri, 18 Oct 2024 14:10:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729285838; x=1729890638; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=foLEB3IkBWHubF9wiB7Qykhc/Hfy+axzkwl74pUgfCE=; b=zHK5sr5KKUC8d9D9cB8XC4JvBuhsA4S603f17pk2znELYDiL9W1BkYmvbhssX2vPdz M8PTSm5itZA6I3t/fCmeUHSq65ZPpA5h70w3avQhAFEk0LzqzKIFCLDmiJkrWVhyekmw atgXClwqGCGAOAA4LjzakAqrF0fUkttWozAoRey5tKL2W3jBAldK2A6ZRyqpbLEvxnul Gaz+FbfO69LqW6+n4qsCmyCg0HXHCIskxDCM5qV9HTzIXtD6xNJXEoSvbRSaqKAUBT/R PYNjtkkro5elKwSn+S8lm6jXcmBo+lwAmY86QqaAfq1ORmTs38kKgeTfvXYGyA0j451h /yaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729285838; x=1729890638; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=foLEB3IkBWHubF9wiB7Qykhc/Hfy+axzkwl74pUgfCE=; b=BLufUCGTWpd6JjXTvhvyZjYS4GIOkwW6AUskre59ij4hG7FzrQnt8TtV9qoHfgbb1L EJyoaSw8QXIwOewQmEbsemmAppresPK+TC4j2olEeANtjvPNr1nu02wXQWsx3qzsJBGH 6GstrWazmMDru2av9rOnd28GJdIEj+YR4/a4gM6hI7XuDtzdBQnvMfLwpbQXEdroSutM Q54HE2woN793hLEX8k2CJQPolDx9X/8GfPRxWvNmm9dstcb/dr+Yh3TNGotMQPrKjj3z DJAk/bCYJWMYTtdi7MlhdKD2ONcSajLNIUGGz7XbOTmRqY50/Jh+74gWHyCG0zmV67WH WH0Q== X-Gm-Message-State: AOJu0YztO/Moz7eeXH6axmMN9j8ABGcdU/NniiBH78xdKkLDs7ofhEO2 zSTlYaDzR6oNjXkZgQvT1A21NKbzyUs6ZExQg2Z2RnNgnS5dAKOi1hJbSv/tdCQOsu1eudoJuYo 4CDY= X-Google-Smtp-Source: AGHT+IHt9oXi+IhTVxmWhRKS1ReTT9GguWan85tSMWRnx+jNu82vXpqvZtb54V0dm69fu8rQ4ETTRg== X-Received: by 2002:a05:6512:308d:b0:539:e6bf:ca9a with SMTP id 2adb3069b0e04-53a1534117bmr2562285e87.6.1729285838429; Fri, 18 Oct 2024 14:10:38 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53a151b0312sm331171e87.51.2024.10.18.14.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 14:10:36 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 19 Oct 2024 00:10:34 +0300 Subject: [PATCH] drm/msm/hdmi: mark interlace_allowed as true Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241019-msm-hdmi-interlaced-v1-1-03bf85133445@linaro.org> X-B4-Tracking: v=1; b=H4sIAMnOEmcC/x3MQQqAIBBA0avErBtwoiC7SrQonXIgLTQikO6et HyL/zMkjsIJhipD5FuSHKGA6gqMm8PGKLYYGtW0pEijTx6d9YISLo77bNgidao3ZI1eFg2lPCO v8vzXcXrfD8wAgRVlAAAA To: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1005; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=A3EGjKxsej0bqYegaiMoauAyA0UdndhPqjQLZupQTLg=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnEs7LQ15JYU+h+GvmmE15FMjj+jK9vWjszep76 N/7j+DnGuOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZxLOywAKCRCLPIo+Aiko 1auUB/0YiI8y9HJuL2UVQt00hcYEtprQ2lks+FUovYIMXsYT3iNFlLzGN1WTCFLxQwr8VpzZ1vN 2QnReFAchDkQYO6NFgzHfMiNbdveVL5z2kZiYMNosWQ6rdrC8ki5r+b23vz2LrOv6tF8Ptyw1Mc qd2SHhcz6Z9I7eg7Mtw/RbBcArn6IBG+LHyQpdtJl/D3Z3YYgJNQJkRd/h/topE982IOE97TJEY nLkPs0YyQEYv3/dx8Dpa53BZZeeuFtvCHV+3pnTvCeZLMCAxh9Cf1qgslr5pwP6P1wU9kn5PJzp 0kFUCqj/sJsnbNnlvwoEviCNWc3PYYhNMP/j7yHCqWaFyXv0 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The MSM HDMI driver supports interlaced modes. Set the corresponding flag to allow interlaced modes on the corresponding connectors. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 1 + 1 file changed, 1 insertion(+) --- base-commit: c4f364c621d0d509190d673d80a9b23250607b4a change-id: 20241019-msm-hdmi-interlaced-1508c1dc9bb9 Best regards, diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c b/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c index 4a5b5112227f..643c152e6380 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c @@ -336,6 +336,7 @@ int msm_hdmi_bridge_init(struct hdmi *hdmi) bridge->funcs = &msm_hdmi_bridge_funcs; bridge->ddc = hdmi->i2c; bridge->type = DRM_MODE_CONNECTOR_HDMIA; + bridge->interlace_allowed = true; bridge->ops = DRM_BRIDGE_OP_HPD | DRM_BRIDGE_OP_DETECT | DRM_BRIDGE_OP_EDID;