All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Armstrong <narmstrong@baylibre.com>
To: a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com,
	jonas@kwiboo.se, jernej.skrabec@siol.net,
	boris.brezillon@collabora.com
Cc: linux-amlogic@lists.infradead.org,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	Neil Armstrong <narmstrong@baylibre.com>
Subject: [PATCH v3 02/10] drm/bridge: dw-hdmi: add max bpc connector property
Date: Wed, 18 Dec 2019 16:46:29 +0100	[thread overview]
Message-ID: <20191218154637.17509-3-narmstrong@baylibre.com> (raw)
In-Reply-To: <20191218154637.17509-1-narmstrong@baylibre.com>

From: Jonas Karlman <jonas@kwiboo.se>

Add the max_bpc property to the dw-hdmi connector to prepare support
for 10, 12 & 16bit output support.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index 6a0b4b3a6739..e7a0600f8cc5 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@ -2368,6 +2368,10 @@ static int dw_hdmi_bridge_attach(struct drm_bridge *bridge)
 				    DRM_MODE_CONNECTOR_HDMIA,
 				    hdmi->ddc);
 
+	drm_atomic_helper_connector_reset(connector);
+
+	drm_connector_attach_max_bpc_property(connector, 8, 16);
+
 	if (hdmi->version >= 0x200a && hdmi->plat_data->use_drm_infoframe)
 		drm_object_attach_property(&connector->base,
 			connector->dev->mode_config.hdr_output_metadata_property, 0);
-- 
2.22.0


WARNING: multiple messages have this Message-ID (diff)
From: Neil Armstrong <narmstrong@baylibre.com>
To: a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com,
	jonas@kwiboo.se, jernej.skrabec@siol.net,
	boris.brezillon@collabora.com
Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
	dri-devel@lists.freedesktop.org,
	Neil Armstrong <narmstrong@baylibre.com>
Subject: [PATCH v3 02/10] drm/bridge: dw-hdmi: add max bpc connector property
Date: Wed, 18 Dec 2019 16:46:29 +0100	[thread overview]
Message-ID: <20191218154637.17509-3-narmstrong@baylibre.com> (raw)
In-Reply-To: <20191218154637.17509-1-narmstrong@baylibre.com>

From: Jonas Karlman <jonas@kwiboo.se>

Add the max_bpc property to the dw-hdmi connector to prepare support
for 10, 12 & 16bit output support.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index 6a0b4b3a6739..e7a0600f8cc5 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@ -2368,6 +2368,10 @@ static int dw_hdmi_bridge_attach(struct drm_bridge *bridge)
 				    DRM_MODE_CONNECTOR_HDMIA,
 				    hdmi->ddc);
 
+	drm_atomic_helper_connector_reset(connector);
+
+	drm_connector_attach_max_bpc_property(connector, 8, 16);
+
 	if (hdmi->version >= 0x200a && hdmi->plat_data->use_drm_infoframe)
 		drm_object_attach_property(&connector->base,
 			connector->dev->mode_config.hdr_output_metadata_property, 0);
-- 
2.22.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: Neil Armstrong <narmstrong@baylibre.com>
To: a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com,
	jonas@kwiboo.se, jernej.skrabec@siol.net,
	boris.brezillon@collabora.com
Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
	dri-devel@lists.freedesktop.org,
	Neil Armstrong <narmstrong@baylibre.com>
Subject: [PATCH v3 02/10] drm/bridge: dw-hdmi: add max bpc connector property
Date: Wed, 18 Dec 2019 16:46:29 +0100	[thread overview]
Message-ID: <20191218154637.17509-3-narmstrong@baylibre.com> (raw)
In-Reply-To: <20191218154637.17509-1-narmstrong@baylibre.com>

From: Jonas Karlman <jonas@kwiboo.se>

Add the max_bpc property to the dw-hdmi connector to prepare support
for 10, 12 & 16bit output support.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index 6a0b4b3a6739..e7a0600f8cc5 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@ -2368,6 +2368,10 @@ static int dw_hdmi_bridge_attach(struct drm_bridge *bridge)
 				    DRM_MODE_CONNECTOR_HDMIA,
 				    hdmi->ddc);
 
+	drm_atomic_helper_connector_reset(connector);
+
+	drm_connector_attach_max_bpc_property(connector, 8, 16);
+
 	if (hdmi->version >= 0x200a && hdmi->plat_data->use_drm_infoframe)
 		drm_object_attach_property(&connector->base,
 			connector->dev->mode_config.hdr_output_metadata_property, 0);
-- 
2.22.0


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

  parent reply	other threads:[~2019-12-18 15:46 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18 15:46 [PATCH v3 00/10] drm/bridge: dw-hdmi: implement bus-format negotiation and YUV420 support Neil Armstrong
2019-12-18 15:46 ` Neil Armstrong
2019-12-18 15:46 ` Neil Armstrong
2019-12-18 15:46 ` [PATCH v3 01/10] drm/bridge: dw-hdmi: set mtmdsclock for deep color Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46 ` Neil Armstrong [this message]
2019-12-18 15:46   ` [PATCH v3 02/10] drm/bridge: dw-hdmi: add max bpc connector property Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:49   ` Laurent Pinchart
2019-12-18 15:49     ` Laurent Pinchart
2019-12-18 15:49     ` Laurent Pinchart
2019-12-19  8:52     ` Neil Armstrong
2019-12-19  8:52       ` Neil Armstrong
2019-12-19  8:52       ` Neil Armstrong
2019-12-18 15:46 ` [PATCH v3 03/10] drm/bridge: synopsys: dw-hdmi: add bus format negociation Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46 ` [PATCH v3 04/10] drm/bridge: synopsys: dw-hdmi: allow ycbcr420 modes for >= 0x200a Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46 ` [PATCH v3 05/10] drm/meson: venc: make drm_display_mode const Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46 ` [PATCH v3 06/10] drm/meson: meson_dw_hdmi: add bridge and switch to drm_bridge_funcs Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46 ` [PATCH v3 07/10] drm/meson: dw-hdmi: stop enforcing input_bus_format Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46 ` [PATCH v3 08/10] drm/meson: venc: add support for YUV420 setup Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46 ` [PATCH v3 09/10] drm/meson: vclk: " Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46 ` [PATCH v3 10/10] drm/meson: Add YUV420 output support Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong
2019-12-18 15:46   ` Neil Armstrong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191218154637.17509-3-narmstrong@baylibre.com \
    --to=narmstrong@baylibre.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=a.hajda@samsung.com \
    --cc=boris.brezillon@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jernej.skrabec@siol.net \
    --cc=jonas@kwiboo.se \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.