OSDN Git Service

drm/amd/display: Decouple aux from i2c
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Tue, 10 Jul 2018 21:20:17 +0000 (17:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jul 2018 20:15:50 +0000 (15:15 -0500)
commit5c6ac7112fb2b73a5e4e7ac1648cdaceb558f268
treefb1888c5effb18535f447a945001f8c3b53345f7
parent3fc9fc4cf5a1a8219ab5d9ab10dac26db78c38f4
drm/amd/display: Decouple aux from i2c

[Why]
Aux engine is created from i2caux layer. We want to remove this layer
and use the engine directly.

[How]
Decouple aux engine from i2caux. Move aux engine related code to dce folder and use
dc resource pool to manage the engine. And use the engine functions directly

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
14 files changed:
drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
drivers/gpu/drm/amd/display/dc/dce/Makefile
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dce/dce_aux.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
drivers/gpu/drm/amd/display/dc/i2caux/engine.h
drivers/gpu/drm/amd/display/dc/inc/core_types.h
drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/engine.h [new file with mode: 0644]