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)
commit013fc06ea4260574755541773ece1a76a8017de6
tree93d685ef53ce051dddafd28cba7619a06971e888
parent37b5fcfde879652bac7fc4b18c5f242f2544e9ea
Revert "drm/amd/display: make dm_dp_aux_transfer return payload bytes instead of size"

This reverts commit cc195141133ac3e767d930bedd8294ceebf1f10b.

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