summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/i2caux
diff options
context:
space:
mode:
authorBhawanpreet Lakha2018-07-10 23:20:17 +0200
committerAlex Deucher2018-07-24 22:15:50 +0200
commit5c6ac7112fb2b73a5e4e7ac1648cdaceb558f268 (patch)
treefb1888c5effb18535f447a945001f8c3b53345f7 /drivers/gpu/drm/amd/display/dc/i2caux
parentdrm/amd/display: DPP CM ICSC AYCRCB8888 format support (diff)
downloadkernel-qcow2-linux-5c6ac7112fb2b73a5e4e7ac1648cdaceb558f268.tar.gz
kernel-qcow2-linux-5c6ac7112fb2b73a5e4e7ac1648cdaceb558f268.tar.xz
kernel-qcow2-linux-5c6ac7112fb2b73a5e4e7ac1648cdaceb558f268.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/i2caux')
-rw-r--r--drivers/gpu/drm/amd/display/dc/i2caux/engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/i2caux/engine.h b/drivers/gpu/drm/amd/display/dc/i2caux/engine.h
index 1e8a1585e401..b16fb1ff687d 100644
--- a/drivers/gpu/drm/amd/display/dc/i2caux/engine.h
+++ b/drivers/gpu/drm/amd/display/dc/i2caux/engine.h
@@ -96,6 +96,7 @@ struct engine_funcs {
struct engine {
const struct engine_funcs *funcs;
+ uint32_t inst;
struct ddc *ddc;
struct dc_context *ctx;
};