]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06f4b6775bb8be9d1fbece7d0061ea81522744ef
treea9058b7322894c12f88813ee24a3dca4f8e4fc1e
parentc91ae5353eceb3e47e7b0f251633f40ac66f922b
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