]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/display: Revert "drm/amd/display: disable idle optimizations"
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 7 Jul 2022 21:17:25 +0000 (17:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 13:31:03 +0000 (09:31 -0400)
This reverts commit e7ef5569e71bf3fec01ea513c27c6081c0dbbc64.

Idle optimization was disabled due to SMU and firmware bugs. Enable it
back for DCN32. DCN321 has them enabled already

Fixes: 4a15325a0db5 ("drm/amd/display: disable idle optimizations")
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-and-tested-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c

index 39214a0dcdf2b55d9c97c6b026810d0eb093a046..1b499f42f459d99ea98c7ecbb6fb411e3e52fa14 100644 (file)
@@ -972,7 +972,6 @@ static const struct dc_debug_options debug_defaults_drv = {
        .timing_trace = false,
        .clock_trace = true,
        .disable_pplib_clock_request = false,
-       .disable_idle_power_optimizations = true,
        .pipe_split_policy = MPC_SPLIT_DYNAMIC,
        .force_single_disp_pipe_split = false,
        .disable_dcc = DCC_ENABLE,