OSDN Git Service

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)
commit37b5fcfde879652bac7fc4b18c5f242f2544e9ea
treeef8fa3011b7f193aaa94c0d9eedde386a5812b8a
parent15e6b76880e65be24250e30986084b5569b7a06f
Revert "drm/amd/display: Don't return ddc result and read_bytes in same return value"

This reverts commit 8a61bc085ffab3071c59efcbeff4044c034e7490.

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