Skip to contentSkip to conversation

drm/amd/display: remove stale debug setting

PATCH In review Aurabindo Pillai 3 participants 4 messages Jul 6, 2022 – Jul 7, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: remove stale debug setting

[Why&How]
The debug option to disable idle power optimization can be dropped

---
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c +0 -1
index baaeaaff23df..1cc1296aed9c 100644
@@ -736,7 +736,6 @@ void dcn32_init_hw(struct dc *dc)
 	int edp_num;
 	uint32_t backlight = MAX_BACKLIGHT_LEVEL;
 
-	dc->debug.disable_idle_power_optimizations = true;
 	if (dc->clk_mgr && dc->clk_mgr->funcs->init_clocks)
 		dc->clk_mgr->funcs->init_clocks(dc->clk_mgr);
 
Signature · 1 line
2.37.0
maintainer Acked-by on v1 1/1
#1 lore raw

[Public]

________________________________
From: amd-gfx <[email protected]> on behalf of Aurabindo Pillai <[email protected]>
Sent: Wednesday, July 6, 2022 11:25 AM
To: [email protected] <[email protected]>
Cc: Siqueira, Rodrigo <[email protected]>; Pillai, Aurabindo <[email protected]>; Wentland, Harry <[email protected]>
Subject: [PATCH] drm/amd/display: remove stale debug setting

[Why&How]
The debug option to disable idle power optimization can be dropped

---
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c +0 -1
index baaeaaff23df..1cc1296aed9c 100644
@@ -736,7 +736,6 @@ void dcn32_init_hw(struct dc *dc)
         int edp_num;
         uint32_t backlight = MAX_BACKLIGHT_LEVEL;
 
-       dc->debug.disable_idle_power_optimizations = true;
         if (dc->clk_mgr && dc->clk_mgr->funcs->init_clocks)
                 dc->clk_mgr->funcs->init_clocks(dc->clk_mgr);
 

--
2.37.0

author Acked-by Alex Deucher
#2 lore raw

[Public]

Thanks, will merge with Cc and fixes tag

--

Regards,
Jay
________________________________
From: Deucher, Alexander <[email protected]>
Sent: Wednesday, July 6, 2022 11:33 AM
To: Pillai, Aurabindo <[email protected]>; [email protected] <[email protected]>
Cc: Siqueira, Rodrigo <[email protected]>; Wentland, Harry <[email protected]>
Subject: Re: [PATCH] drm/amd/display: remove stale debug setting

[Public]

________________________________
From: amd-gfx <[email protected]> on behalf of Aurabindo Pillai <[email protected]>
Sent: Wednesday, July 6, 2022 11:25 AM
To: [email protected] <[email protected]>
Cc: Siqueira, Rodrigo <[email protected]>; Pillai, Aurabindo <[email protected]>; Wentland, Harry <[email protected]>
Subject: [PATCH] drm/amd/display: remove stale debug setting

[Why&How]
The debug option to disable idle power optimization can be dropped

---
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c +0 -1
index baaeaaff23df..1cc1296aed9c 100644
@@ -736,7 +736,6 @@ void dcn32_init_hw(struct dc *dc)
         int edp_num;
         uint32_t backlight = MAX_BACKLIGHT_LEVEL;
 
-       dc->debug.disable_idle_power_optimizations = true;
         if (dc->clk_mgr && dc->clk_mgr->funcs->init_clocks)
                 dc->clk_mgr->funcs->init_clocks(dc->clk_mgr);
 

--
2.37.0

#3 lore raw
In reply to Aurabindo Pillai

[AMD Official Use Only - General]

Reviewed-and-tested-by Evan Quan <[email protected]>
Quoted 32 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Aurabindo Pillai
Sent: Wednesday, July 6, 2022 11:25 PM
To: [email protected]
Cc: Siqueira, Rodrigo <[email protected]>; Pillai, Aurabindo <[email protected]>; Wentland, Harry <[email protected]>
Subject: [PATCH] drm/amd/display: remove stale debug setting

[Why&How]
The debug option to disable idle power optimization can be dropped

---
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c +0 -2
index baaeaaff23df..1cc1296aed9c 100644
@@ -736,7 +736,6 @@ void dcn32_init_hw(struct dc *dc)
 	int edp_num;
 	uint32_t backlight = MAX_BACKLIGHT_LEVEL;
 
-	dc->debug.disable_idle_power_optimizations = true;
 	if (dc->clk_mgr && dc->clk_mgr->funcs->init_clocks)
 		dc->clk_mgr->funcs->init_clocks(dc->clk_mgr);
 
--

2.37.0