summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dcn30
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2023-02-01 18:54:51 -0700
committerAlex Deucher <alexander.deucher@amd.com>2023-10-03 15:42:12 -0400
commitc6d3c7b6309726fbe93cf595d6de326fb8295a64 (patch)
tree853719fb99f30bcdafd6e09f97e3b31e34b95b31 /drivers/gpu/drm/amd/display/dc/dcn30
parentcd1a4bc22821eea9a98f1beddd1a8d789989a720 (diff)
downloadlinux-stable-c6d3c7b6309726fbe93cf595d6de326fb8295a64.tar.gz
linux-stable-c6d3c7b6309726fbe93cf595d6de326fb8295a64.tar.bz2
linux-stable-c6d3c7b6309726fbe93cf595d6de326fb8295a64.zip
drm/amd/display: Add writeback enable/disable in dc
[WHAT] The enable and disable writeback calls need to be included in the coressponding functions in dc_stream. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn30')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
index fce9b33c0f88..af9a9fc7db48 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
@@ -367,6 +367,10 @@ void dcn30_enable_writeback(
DC_LOG_DWB("%s dwb_pipe_inst = %d, mpcc_inst = %d",\
__func__, wb_info->dwb_pipe_inst,\
wb_info->mpcc_inst);
+
+ /* Warmup interface */
+ dcn30_mmhubbub_warmup(dc, 1, wb_info);
+
/* Update writeback pipe */
dcn30_set_writeback(dc, wb_info, context);