]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/amd/display: Don't return ddc result and read_bytes in same return value"
authorHarry Wentland <harry.wentland@amd.com>
Fri, 6 Jul 2018 14:54:18 +0000 (10:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:46:35 +0000 (14:46 -0500)
commit78c118c95ff4f5e19e6f75502335d7cd9710bca9
treeef8fa3011b7f193aaa94c0d9eedde386a5812b8a
parent0681824976f61d9dd392d20de6d82fba51e09441
Revert "drm/amd/display: Don't return ddc result and read_bytes in same return value"

This reverts commit 8d0df6ee46e52e02c7df3b6983487d9ababc8573.

Need to revert "make dm_dp_aux_transfer return payload bytes instead of
size", which this commit is based on. That commit was problematic on
other OSes. The real solution is to leave all the error checking to DRM
and don't do it in DC, which is addressed by "Return aux replies
directly to DRM" later in this patchset.

v2: Add reason for revert.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
drivers/gpu/drm/amd/display/dc/inc/dc_link_ddc.h