]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/amd/display: make dm_dp_aux_transfer return payload bytes instead of...
authorHarry Wentland <harry.wentland@amd.com>
Fri, 6 Jul 2018 14:54:33 +0000 (10:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:46:41 +0000 (14:46 -0500)
commitf942e5af921729c371fc64db98c59ab56f63d72a
tree93d685ef53ce051dddafd28cba7619a06971e888
parentf9cd9bf8077d0beacb7b80034ee71515ac05ffe8
Revert "drm/amd/display: make dm_dp_aux_transfer return payload bytes instead of size"

This reverts commit b1cd4a061b080d1ece609b43331ae1644f93ee0a.

This 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/i2caux/aux_engine.c
drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c
drivers/gpu/drm/amd/display/dc/inc/dc_link_ddc.h