linux/drivers/gpu/drm/bridge/analogix
Hsin-Yi Wang c0bbed9051
drm/bridge: Clear the DP_AUX_I2C_MOT bit passed in aux read command.
If the previous transfer didn't end with a command without DP_AUX_I2C_MOT,
the next read trasnfer will miss the first byte. But if the command in
previous transfer is requested with length 0, it's a no-op to anx7625
since it can't process this command. anx7625 requires the last command
to be read command with length > 0.

It's observed that if we clear the DP_AUX_I2C_MOT in read transfer, we
can still get correct data. Clear the read commands with DP_AUX_I2C_MOT
bit to fix this issue.

Fixes: adca62ec37 ("drm/bridge: anx7625: Support reading edid through aux channel")
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Xin Ji <xji@analogixsemi.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220217082224.1823916-1-hsinyi@chromium.org
2022-03-02 14:06:21 +01:00
..
analogix_dp_core.c drm/connector: Fix typo in output format 2022-01-25 10:01:44 +01:00
analogix_dp_core.h drm/dp: Move public DisplayPort headers into dp/ 2022-01-17 11:25:44 +01:00
analogix_dp_reg.c drm/bridge: analogix_dp: Make PSR-exit block less 2021-11-04 11:54:09 +01:00
analogix_dp_reg.h
analogix-anx78xx.c drm/dp: Move public DisplayPort headers into dp/ 2022-01-17 11:25:44 +01:00
analogix-anx78xx.h drm/bridge: split some definitions of ANX78xx to dedicated headers 2019-11-08 10:27:32 +01:00
analogix-anx6345.c drm/dp: Move public DisplayPort headers into dp/ 2022-01-17 11:25:44 +01:00
analogix-i2c-dptx.c drm/dp: Move public DisplayPort headers into dp/ 2022-01-17 11:25:44 +01:00
analogix-i2c-dptx.h drm/bridge: Prepare Analogix anx6345 support 2019-11-08 10:27:53 +01:00
analogix-i2c-txcommon.h drm/bridge: Prepare Analogix anx6345 support 2019-11-08 10:27:53 +01:00
anx7625.c drm/bridge: Clear the DP_AUX_I2C_MOT bit passed in aux read command. 2022-03-02 14:06:21 +01:00
anx7625.h drm/bridge: anx7625: Support reading edid through aux channel 2022-02-14 13:42:05 +01:00
Kconfig drm/bridge: anx7625: Support reading edid through aux channel 2022-02-14 13:42:05 +01:00
Makefile drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP 2020-10-16 23:35:16 +02:00