drm/amd/display: Return aux replies directly to DRM
authorHarry Wentland <harry.wentland@amd.com>
Wed, 9 May 2018 20:26:17 +0000 (16:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:48:36 +0000 (14:48 -0500)
commit084b3765ec4baf8b7de57e7dc1e1ba1b6905e9d9
treea9058b7322894c12f88813ee24a3dca4f8e4fc1e
parent899e2aaddbfa0ff96fbaf31f0d9e91427e87dd88
drm/amd/display: Return aux replies directly to DRM

Currently we still go through DC code that does error checking, retries,
etc. There's no need for that since DRM already does that for us. This
simplifies the code a bit and makes it easier to debug.

This also ensures we correctly tell DRM how many bytes have actually
been read, as we should. This allows DRM to correctly read the EDID on
the Chamelium DP port.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-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