]> git.baikalelectronics.ru Git - kernel.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)
commit93c17c0f3bf0d8489f76cb1ea76c2c2e7eda850e
tree11e306d5f3e98df616be2b3e11a35e6504065a93
parentc65284b85b0fec67b902fa00304aab20026f61d9
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