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>
This commit is contained in:
David Francis
2018-11-30 10:32:01 -05:00
committed by Alex Deucher
parent eae5ffa9bd
commit 1877ccf6ee
9 changed files with 45 additions and 548 deletions

View File

@@ -607,7 +607,7 @@ struct output_pixel_processor *dce112_opp_create(
return &opp->base;
}
struct aux_engine *dce112_aux_engine_create(
struct dce_aux *dce112_aux_engine_create(
struct dc_context *ctx,
uint32_t inst)
{