]> 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)
commit87506008e139fe62a82d0a9a83335f7916f41b58
tree5f5177f6a0edb047e592fc2ebbf930408993e50c
parent929d2bf48214205a723b0075ddc08ce79e34d931
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