summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorMisha Nasledov <misha@nasledov.com>2026-10-19 16:42:32 -0700
committerAlex Deucher <alexander.deucher@amd.com>2026-11-04 12:35:21 -0500
commitbba4dc3306483335ddbe065c05b2d8359ec387a4 (patch)
tree1589b87a923e30c739e88628f2eece2cbc89c138 /include/linux/timerqueue.h
parent7fac15d009cf236677a8cddf6bc0e8c85666ac3b (diff)
drm/amd/display: Drop clock requirements on DCN32 when no displays are active
amdgpu_dm builds the new dc_state as a copy of the old one. When the last stream is removed, dml1_validate() returns early on pipe_cnt == 0 and never reaches dcn32_calculate_dlg_params(), so bw.dcn.clk keeps the dramclk/dcfclk/fclk requirements of the display that was just turned off. dcn32_update_clocks() then keeps those hard minimums applied. On an RX 7900 XTX this leaves UCLK at 456 MHz and DCFCLK at 637 MHz with the monitor off, and the board idles at 28.4 W. With this change they drop to 96 MHz and 145 MHz and board power falls to 15.3 W. Reset the clock requirements in that case, as calculate_dlg_params() already does when no HUBP is active and as the DML2 path does for stream_count == 0. Signed-off-by: Misha Nasledov <misha@nasledov.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 0261a0ef89f37ef962fbc9dbc724ebf65fe681cf) Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions