Skip to content

Commit 29986cc

Browse files
Laurent Pinchartairlied
authored andcommitted
drm: rcar-du: Link HDMI encoder with bridge
The conversion of the rcar-du driver from the I2C slave encoder to the DRM bridge API left the HDMI encoder's bridge pointer NULL, preventing the bridge from being handled automatically by the DRM core. Fix it. Fixes: 1d92611 ("drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder") Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
1 parent 29b4817 commit 29986cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ int rcar_du_hdmienc_init(struct rcar_du_device *rcdu,
125125

126126
/* Link drm_bridge to encoder */
127127
bridge->encoder = encoder;
128+
encoder->bridge = bridge;
128129

129130
ret = drm_bridge_attach(rcdu->ddev, bridge);
130131
if (ret) {

0 commit comments

Comments
 (0)