aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce100
diff options
context:
space:
mode:
authorDavid Francis <David.Francis@amd.com>2018-11-30 10:32:01 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-01-14 15:40:48 -0500
commit1877ccf6eea42993c4ca0d5e6876ced8b5b4ee8a (patch)
tree11521f44c21e246f1e63d1bd0c56643068abe1bc /drivers/gpu/drm/amd/display/dc/dce100
parentdrm/amd/display: Switch ddc to new aux interface (diff)
downloadlinux-dev-1877ccf6eea42993c4ca0d5e6876ced8b5b4ee8a.tar.xz
linux-dev-1877ccf6eea42993c4ca0d5e6876ced8b5b4ee8a.zip
drm/amd/display: Change from aux_engine to dce_aux
[Why] The aux_engine struct is needlessly complex and is defined multiple times. It contains function pointers that each have only one version and are called only from inside dce_aux. [How] Replace aux_engine with a new struct called dce_aux. Remove all function pointers and call functions directly. Remove unused functions Signed-off-by: David Francis <David.Francis@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/dce100')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
index 6ae51a5dfc04..c3f616a739d7 100644
--- a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
@@ -587,7 +587,7 @@ struct output_pixel_processor *dce100_opp_create(
return &opp->base;
}
-struct aux_engine *dce100_aux_engine_create(
+struct dce_aux *dce100_aux_engine_create(
struct dc_context *ctx,
uint32_t inst)
{