]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/bridge: dw_hdmi: support i2c extended read mode
authorNickey Yang <nickey.yang@rock-chips.com>
Mon, 20 Mar 2017 02:57:31 +0000 (10:57 +0800)
committerArchit Taneja <architt@codeaurora.org>
Tue, 21 Mar 2017 07:45:32 +0000 (13:15 +0530)
commit94bb4dc132ed2e3a4d16649b0096c49d13670fe8
tree11e306d5f3e98df616be2b3e11a35e6504065a93
parent3a270e4dcc8a0ee808fd1f2af52d45e8bcfeb9a6
drm/bridge: dw_hdmi: support i2c extended read mode

"I2C Master Interface Extended Read Mode" implements a segment
pointer-based read operation using the Special Register configuration.

This patch fix https://patchwork.kernel.org/patch/7098101/ mentioned
"The current implementation does not support "I2C Master Interface
Extended Read Mode" to read data addressed by non-zero segment
pointer, this means that if EDID has more than 1 extension blocks,
EDID reading operation won't succeed"

With this patch, dw-hdmi can read EDID data with 1/2/4 blocks.

Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1489978651-16647-1-git-send-email-nickey.yang@rock-chips.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c