OSDN Git Service

drm/amd/display: Remove unnecessary register programming
authorMikita Lipski <mikita.lipski@amd.com>
Mon, 15 Jan 2018 19:27:15 +0000 (14:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:43 +0000 (14:18 -0500)
Remove aux engine register programming,when freeing the engine
as it was a temporary workaround.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/dce110/aux_engine_dce110.c

index 81f9f3e..5f47f6c 100644 (file)
@@ -441,10 +441,6 @@ static void construct(
 static void destruct(
        struct aux_engine_dce110 *engine)
 {
-       struct aux_engine_dce110 *aux110 = engine;
-/*temp w/a, to do*/
-       REG_UPDATE(AUX_ARB_CONTROL, AUX_DMCU_DONE_USING_AUX_REG, 1);
-       REG_UPDATE(AUX_ARB_CONTROL, AUX_SW_DONE_USING_AUX_REG, 1);
        dal_aux_engine_destruct(&engine->base);
 }