Skip to content

Commit 0eee615

Browse files
yueshummind
authored andcommitted
drm: rockchip: rk3066_hdmi: set edid fifo address
Fix edid reading error when edid's block > 2. Signed-off-by: Nickey Yang <[email protected]> Signed-off-by: Johan Jonker <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent cca1705 commit 0eee615

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/rockchip/rk3066_hdmi.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,9 @@ static int rk3066_hdmi_i2c_write(struct rk3066_hdmi *hdmi, struct i2c_msg *msgs)
641641
if (msgs->addr == DDC_ADDR)
642642
hdmi->i2c->ddc_addr = msgs->buf[0];
643643

644+
/* Set edid fifo first address. */
645+
hdmi_writeb(hdmi, HDMI_EDID_FIFO_ADDR, 0x00);
646+
644647
/* Set edid word address 0x00/0x80. */
645648
hdmi_writeb(hdmi, HDMI_EDID_WORD_ADDR, hdmi->i2c->ddc_addr);
646649

0 commit comments

Comments
 (0)