[PATCH] drm: bridge: dw_hdmi: fix connector access for scdc

Neil Armstrong neil.armstrong at linaro.org
Thu Jun 22 12:54:47 UTC 2023


Hi,

On Thu, 01 Jun 2023 13:31:53 +0100, Adrián Larumbe wrote:
> Commit 5d844091f237 ("drm/scdc-helper: Pimp SCDC debugs") changed the scdc
> interface to pick up an i2c adapter from a connector instead. However, in
> the case of dw-hdmi, the wrong connector was being used to pass i2c adapter
> information, since dw-hdmi's embedded connector structure is only populated
> when the bridge attachment callback explicitly asks for it.
> 
> drm-meson is handling connector creation, so this won't happen, leading to
> a NULL pointer dereference.
> 
> [...]

Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-fixes)

[1/1] drm: bridge: dw_hdmi: fix connector access for scdc
      https://cgit.freedesktop.org/drm/drm-misc/commit/?id=98703e4e061fb8715c7613cd227e32cdfd136b23

-- 
Neil



More information about the dri-devel mailing list