Re: [PATCH v9 46/61] drm/rockchip: rk3066_hdmi: Advertise HDMI 1.4 capabilities
[email protected] Thu, 23 Jul 2026 01:57:36 +0000
| Newsgroups | dev.linux.lists.linux-sunxi,org.freedesktop.lists.dri-devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] The code assigns `HDMI_VERSION_1_3` instead of `HDMI_VERSION_1_4`, directly contradicting the patch's stated intent to advertise HDMI 1.4 capabilities. -- --- Patch [46]: [PATCH v9 46/61] drm/rockchip: rk3066_hdmi: Advertise HDMI 1.4 capabilities --- commit 8a400446251ad4e071bf0a6818a9b90370bc4528 Author: Cristian Ciocaltea <[email protected]> drm/rockchip: rk3066_hdmi: Advertise HDMI 1.4 capabilities This commit updates the rk3066_hdmi driver to populate the supported_hdmi_ver field in the drm_bridge structure. The stated goal in the commit message is to advertise HDMI 1.4 capabilities so that the core can correctly reject modes exceeding the TMDS character rate limit. > diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip/rk3066_hdmi.c > index f28d6a883e099..c080abe676c42 100644 > --- a/drivers/gpu/drm/rockchip/rk3066_hdmi.c > +++ b/drivers/gpu/drm/rockchip/rk3066_hdmi.c [ ... ] > @@ -712,6 +713,7 @@ rk3066_hdmi_register(struct drm_device *drm, struct rk3066_hdmi *hdmi) > hdmi->bridge.type = DRM_MODE_CONNECTOR_HDMIA; > hdmi->bridge.vendor = "Rockchip"; > hdmi->bridge.product = "RK3066 HDMI"; > + hdmi->bridge.supported_hdmi_ver = HDMI_VERSION_1_3; [Severity: Medium] The commit message states the intent is to advertise HDMI 1.4 capabilities, but in rk3066_hdmi_register(), this line assigns HDMI_VERSION_1_3 instead. Does this cause the bridge to unconditionally advertise HDMI 1.3 capabilities to the DRM core during initialization, potentially disabling HDMI 1.4 features? Should this be set to HDMI_VERSION_1_4 to match the commit description? -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=46