Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4373025ybf; Wed, 4 Mar 2020 02:42:13 -0800 (PST) X-Google-Smtp-Source: ADFU+vvxn9whZ1vC4Qei2gB7KB8H0aumhWBEkQ/6TQYN8ZF4H+bXd5Okmp9ZLpemFdojI2SCO1+m X-Received: by 2002:a9d:748c:: with SMTP id t12mr1712830otk.38.1583318533239; Wed, 04 Mar 2020 02:42:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583318533; cv=none; d=google.com; s=arc-20160816; b=rkpxMuuO0J71RLbwEcN3Y4TzBiUf2rAaTP/WjIi42uKl7IBz+iWMyr9O5Fkjr/7TI4 L3Qgw1vUFwlvjg8YyTC4oseg9lZPmHpfLtYRLK8gOxh08+s/wV+ss0495ljhRQry7V37 PKwQGCO4pJGmChDhcWkXadEKggjEKbMhdq/h/QakAgmrQ+5r4OKaKK1dv7DKCnBUFQP/ +i4N+yCXXBKIlzKf4Pipmi/7SSBiBcImAMsXNioAscZ6tSYzby+sGa6O5rpApgtLamiG mfiCTa5pTx8ugLtmyBkZDcOoCR0pJvwnErDd82BXdeCiW1f4vlwQlWb0oznuVg8wYi2Z 3JsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2ZYaVAxRnaObr28BZLmmHgNx+5g0OhRS2ehQYDVzjXU=; b=WBfkD4WMVd1IJOdjKTb87zDqlEc9mMhHcLpIXQ32tcsoJpoUxPwp0sj3q49yq9mgew v/doczLZp7cwI+IiP73scm2Xdij8iloynORr0+DBIsp0fb7wYzJDwaOkYZ8RnTm3UM6o n36xjOPcUu0oqrBItAYteZo+IXMigVvRRasZdxwvu9wOEUf3M6YWi5WnA2RLBDPe1tuV 8VRiS0Op5jiPd6Z8mYvkC2uHi0mM7NAC5A1AgPuCsEysd3+411b2STsc1R6qWXt5hE3V Vx0RnGQxLoPHKi2nxfGoJKtemSVW8WHQAt+J7sB2k9P248LiLvC3L1edeVEaceXrSjZK LASA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=QstsY6nc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w26si860546otk.156.2020.03.04.02.42.00; Wed, 04 Mar 2020 02:42:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=QstsY6nc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387965AbgCDKlU (ORCPT + 99 others); Wed, 4 Mar 2020 05:41:20 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42649 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387897AbgCDKlJ (ORCPT ); Wed, 4 Mar 2020 05:41:09 -0500 Received: by mail-wr1-f67.google.com with SMTP id z11so1744835wro.9 for ; Wed, 04 Mar 2020 02:41:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2ZYaVAxRnaObr28BZLmmHgNx+5g0OhRS2ehQYDVzjXU=; b=QstsY6ncnufuZrETjDUNyPb+E0wCE7nPglDBEz1h4hDqKKBYSN0Omz187XucsKMQbL 01m4i6n+B0zVhRg1d37E89qC92HcBhsaTLziRCSe7L2gQb1we30DBKZ9+cHKN3iM7dxp kIgDy/FF4fM5cUfwfmkY94oFmnXIKaSH05RZqXeDutS5aFdqasW7OxamJe3Drnuuwe4f /enVSrulADQSWwGzJwkZdkxx7/B8GdPAZhIccEbKlxjTPd3EPrhan1WZmg06ZZ3RImXj IEIU6twNIO48k2iKCVUt+4J61AbHYJmlaEqeBcmb4jnr9yzYZInJ5uLzOgPyIHGw3haG M9lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2ZYaVAxRnaObr28BZLmmHgNx+5g0OhRS2ehQYDVzjXU=; b=EoUEK+EF5qcvAuoLb2XvecqWifrt13tgUxwXmWjkd992M18YKquxzfxFjYsI/n4TD8 YcVlorquxNUixoBPxhVfKWNR8/+Ee+Azrgkq6VpVzqjkiQxomIsAOpaAlWNlqe300YZh RKE67doUTLaUnY2ahpoDDyAXWE9SRKhgGZKmDj35flUoWnk1Fz6HUCGK1zr0kgWcH16T jdnkXIV4zimkBYpjXnci5gDhGHVx64e8e+L6PaK4p/ACRtMwFhBa5/IncpOUPgdGkf9G 6kTBvDltWTRsGPSsWmPgy1HEL6b3nJT2tjrBq/yq1Ti+ckzClptnD95L9g+lwcDZp29r B6Mg== X-Gm-Message-State: ANhLgQ0y25n0c5MmXtAd8L8jlBaPOF8eeCRxN7gC03BEKLcC1X258aVV INaJK13tAxPLLwYjPYnBGKF7sg== X-Received: by 2002:a05:6000:12cc:: with SMTP id l12mr3490390wrx.304.1583318467351; Wed, 04 Mar 2020 02:41:07 -0800 (PST) Received: from bender.baylibre.local (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id c14sm24006398wro.36.2020.03.04.02.41.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 02:41:06 -0800 (PST) From: Neil Armstrong To: a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, boris.brezillon@collabora.com Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 08/11] drm/meson: dw-hdmi: stop enforcing input_bus_format Date: Wed, 4 Mar 2020 11:40:49 +0100 Message-Id: <20200304104052.17196-9-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20200304104052.17196-1-narmstrong@baylibre.com> References: <20200304104052.17196-1-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To allow using formats from negotiation, stop enforcing input_bus_format in the private dw-plat-data struct. Signed-off-by: Neil Armstrong Reviewed-by: Boris Brezillon Reviewed-by: Jernej Škrabec --- drivers/gpu/drm/meson/meson_dw_hdmi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/meson/meson_dw_hdmi.c b/drivers/gpu/drm/meson/meson_dw_hdmi.c index 8f51d032262c..72c118142eaf 100644 --- a/drivers/gpu/drm/meson/meson_dw_hdmi.c +++ b/drivers/gpu/drm/meson/meson_dw_hdmi.c @@ -1014,7 +1014,6 @@ static int meson_dw_hdmi_bind(struct device *dev, struct device *master, dw_plat_data->phy_ops = &meson_dw_hdmi_phy_ops; dw_plat_data->phy_name = "meson_dw_hdmi_phy"; dw_plat_data->phy_data = meson_dw_hdmi; - dw_plat_data->input_bus_format = MEDIA_BUS_FMT_YUV8_1X24; dw_plat_data->input_bus_encoding = V4L2_YCBCR_ENC_709; if (dw_hdmi_is_compatible(meson_dw_hdmi, "amlogic,meson-gxl-dw-hdmi") || -- 2.22.0