OSDN Git Service

drm/amd/display: Break out function to simply read aux reply
authorHarry Wentland <harry.wentland@amd.com>
Tue, 8 May 2018 20:28:31 +0000 (16:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:48:29 +0000 (14:48 -0500)
commit899e2aaddbfa0ff96fbaf31f0d9e91427e87dd88
tree2572846dc922725bce5c74f3ce74d9064092fd59
parentaac5db824d6f5997344101ae0e71fbb003b9692b
drm/amd/display: Break out function to simply read aux reply

DRM's DP helpers take care of dealing with the error code for us. In
order not to step on each other's toes we'll need to be able to simply
read auch channel replies without further logic based on return values.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/i2caux/aux_engine.h
drivers/gpu/drm/amd/display/dc/i2caux/dce110/aux_engine_dce110.c