]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix i2c wtire mot incorrect issue
authorLewis Huang <Lewis.Huang@amd.com>
Tue, 27 Aug 2019 09:03:41 +0000 (17:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Sep 2019 13:06:54 +0000 (08:06 -0500)
commit4246b3f392ff03d9e33b0d62dea512e327ffee9f
tree5f5177f6a0edb047e592fc2ebbf930408993e50c
parent28bef1d8b776c8cd62dd3de8fa6f70a20570902e
drm/amd/display: fix i2c wtire mot incorrect issue

[Why]
I2C write command always send mot = true will cause sink state incorrect.

[How]
1. Remove default i2c write mot = true.
2. Deciding mot flag by is_end_of_payload flag.

Signed-off-by: Lewis Huang <Lewis.Huang@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c