diff options
author | Dmytro Laktyushkin | 2018-05-24 00:39:21 +0200 |
---|---|---|
committer | Alex Deucher | 2018-07-05 23:38:33 +0200 |
commit | c910a717dac6540a636a57c1a34261c6d84fc0eb (patch) | |
tree | 0817de265298278c37d02aeabd6bfa2cf50f8370 /drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | |
parent | drm/amd/display: rename dce_disp_clk to dccg (diff) | |
download | kernel-qcow2-linux-c910a717dac6540a636a57c1a34261c6d84fc0eb.tar.gz kernel-qcow2-linux-c910a717dac6540a636a57c1a34261c6d84fc0eb.tar.xz kernel-qcow2-linux-c910a717dac6540a636a57c1a34261c6d84fc0eb.zip |
drm/amd/display: clean up set_bandwidth usage
This removes redundant set_bandwidth calls as well
as fixes a bug in post_set_address_update where dcn1
would never get to lower clocks.
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Nikola Cornij <Nikola.Cornij@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/dce110/dce110_hw_sequencer.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c index 4cdf86690d19..3b983b3f3423 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c @@ -2036,8 +2036,6 @@ enum dc_status dce110_apply_ctx_to_hw( if (dc->fbc_compressor) dc->fbc_compressor->funcs->disable_fbc(dc->fbc_compressor); - dc->hwss.set_bandwidth(dc, context, false); - dce110_setup_audio_dto(dc, context); for (i = 0; i < dc->res_pool->pipe_count; i++) { @@ -2066,9 +2064,6 @@ enum dc_status dce110_apply_ctx_to_hw( return status; } - /* to save power */ - dc->hwss.set_bandwidth(dc, context, true); - dcb->funcs->set_scratch_critical_state(dcb, false); if (dc->fbc_compressor) |