[AMD Official Use Only - General] Reviewed-and-tested-by: Evan Quan <evan.quan@xxxxxxx> > -----Original Message----- > From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of > Aurabindo Pillai > Sent: Friday, July 8, 2022 5:21 AM > To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx > Cc: Deucher, Alexander <Alexander.Deucher@xxxxxxx>; Siqueira, Rodrigo > <Rodrigo.Siqueira@xxxxxxx>; Pillai, Aurabindo > <Aurabindo.Pillai@xxxxxxx>; Wentland, Harry <Harry.Wentland@xxxxxxx> > Subject: [PATCH] drm/amd/display: Revert "drm/amd/display: disable idle > optimizations" > > 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: e7ef5569e71b ("drm/amd/display: disable idle optimizations") > Signed-off-by: Aurabindo Pillai <aurabindo.pillai@xxxxxxx> > --- > drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c > b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c > index b166ab187264..6e829001b53e 100644 > --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c > +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c > @@ -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, > -- > 2.37.0