summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/i2caux
diff options
context:
space:
mode:
authorMikita Lipski2018-01-15 20:27:15 +0100
committerAlex Deucher2018-02-19 20:18:43 +0100
commit6c1d03a4f2d949bfde16962b3abe9b3b6968b9f7 (patch)
tree370d9f8b0b3b41e53f830d9d3f53e97132c4721d /drivers/gpu/drm/amd/display/dc/i2caux
parentdrm/amd/display: Add temporary delay on disconnect patch (diff)
downloadkernel-qcow2-linux-6c1d03a4f2d949bfde16962b3abe9b3b6968b9f7.tar.gz
kernel-qcow2-linux-6c1d03a4f2d949bfde16962b3abe9b3b6968b9f7.tar.xz
kernel-qcow2-linux-6c1d03a4f2d949bfde16962b3abe9b3b6968b9f7.zip
drm/amd/display: Remove unnecessary register programming
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/i2caux')
-rw-r--r--drivers/gpu/drm/amd/display/dc/i2caux/dce110/aux_engine_dce110.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/i2caux/dce110/aux_engine_dce110.c b/drivers/gpu/drm/amd/display/dc/i2caux/dce110/aux_engine_dce110.c
index 81f9f3e34c10..5f47f6c007ac 100644
--- a/drivers/gpu/drm/amd/display/dc/i2caux/dce110/aux_engine_dce110.c
+++ b/drivers/gpu/drm/amd/display/dc/i2caux/dce110/aux_engine_dce110.c
@@ -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);
}