Thread (14 messages) 14 messages, 2 authors, 2025-08-20

Re: [PATCH 3/7] drm/bridge: ite-it6232: declare supported infoframes

From: Dmitry Baryshkov <hidden>
Date: 2025-08-19 10:56:08
Also in: dri-devel, linux-arm-msm, linux-rockchip, linux-sunxi, lkml

On 19/08/2025 12:49, Liu Ying wrote:
Hi Dmitry,

On 08/16/2025, Dmitry Baryshkov wrote:
quoted
Declare which infoframes are supported via the .hdmi_write_infoframe()
interface.

Signed-off-by: Dmitry Baryshkov <redacted>
---
  drivers/gpu/drm/bridge/ite-it6263.c | 1 +
  1 file changed, 1 insertion(+)
For subject, s/it6232/it6263.
Ack
quoted
diff --git a/drivers/gpu/drm/bridge/ite-it6263.c b/drivers/gpu/drm/bridge/ite-it6263.c
index cf813672b4ffb8ab5c524c6414ee7b414cebc018..b1956891a8388401c13cd2fc5c78f0779063adf4 100644
--- a/drivers/gpu/drm/bridge/ite-it6263.c
+++ b/drivers/gpu/drm/bridge/ite-it6263.c
@@ -875,6 +875,7 @@ static int it6263_probe(struct i2c_client *client)
  	it->bridge.type = DRM_MODE_CONNECTOR_HDMIA;
  	it->bridge.vendor = "ITE";
  	it->bridge.product = "IT6263";
+	it->bridge.supported_infoframes = DRM_CONNECTOR_INFOFRAME_AVI;
With supported_infoframes set, the two lines setting vendor and product
are dead code.  I think it's worth dropping them and updating kerneldoc
for vendor and product members because they don't have to be required if
DRM_BRIDGE_OP_HDMI is set.  But, this could be done with future patch(not
in this patch series).
They are still required by the framework itself, see 
drmm_connector_hdmi_init().

BTW: I don't have ITE datasheet. Do you know if it really supports only 
the AVI frame?

Reviewed-by: Liu Ying <victor.liu@nxp.com>
quoted
  
  	return devm_drm_bridge_add(dev, &it->bridge);
  }

-- 
With best wishes
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help