[AMD Official Use Only - General]

Hi Jas,

Please add drm/amd/display prefix to the patch title

--

Regards,
Jay
________________________________
From: Dhillon, Jasdeep <[email protected]>
Sent: Wednesday, September 21, 2022 8:18 PM
To: [email protected] <[email protected]>
Cc: Wentland, Harry <[email protected]>; Li, Sun peng (Leo) 
<[email protected]>; Lakha, Bhawanpreet <[email protected]>; Siqueira, 
Rodrigo <[email protected]>; Pillai, Aurabindo 
<[email protected]>; Zhuo, Qingqing (Lillian) <[email protected]>; 
Li, Roman <[email protected]>; Lin, Wayne <[email protected]>; Wang, Chao-kai 
(Stylon) <[email protected]>; Chiu, Solomon <[email protected]>; Kotarac, 
Pavle <[email protected]>; Gutierrez, Agustin <[email protected]>; 
Syu, Brandon <[email protected]>; Cyr, Aric <[email protected]>; Dhillon, 
Jasdeep <[email protected]>
Subject: [PATCH 23/31] Add debug option for exiting idle optimizations on 
cursor updates

From: Brandon Syu <[email protected]>

[Description]
- Have option to exit idle opt on cursor updates
for debug and optimizations purposes

Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Jasdeep Dhillon <[email protected]>
Signed-off-by: Brandon Syu<[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c   | 3 ++-
 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c | 1 +
 drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c | 3 ++-
 drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c | 1 +
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c 
b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
index f6f3878c99b8..3a3b2ac791c7 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
@@ -724,7 +724,8 @@ static const struct dc_debug_options debug_defaults_drv = {
         .dwb_fi_phase = -1, // -1 = disable,
         .dmub_command_table = true,
         .disable_psr = false,
-       .use_max_lb = true
+       .use_max_lb = true,
+       .exit_idle_opt_for_cursor_updates = true
 };

 static const struct dc_debug_options debug_defaults_diags = {
diff --git a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c 
b/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
index 0c2b15a0f3a7..559e563d5bc1 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
@@ -700,6 +700,7 @@ static const struct dc_debug_options debug_defaults_drv = {
         .dwb_fi_phase = -1, // -1 = disable
         .dmub_command_table = true,
         .use_max_lb = false,
+       .exit_idle_opt_for_cursor_updates = true
 };

 static const struct dc_debug_options debug_defaults_diags = {
diff --git a/drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c 
b/drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c
index 4fab537e822f..b925b6ddde5a 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c
@@ -93,7 +93,8 @@ static const struct dc_debug_options debug_defaults_drv = {
                 .underflow_assert_delay_us = 0xFFFFFFFF,
                 .dwb_fi_phase = -1, // -1 = disable,
                 .dmub_command_table = true,
-               .use_max_lb = true
+               .use_max_lb = true,
+               .exit_idle_opt_for_cursor_updates = true
 };

 static const struct dc_debug_options debug_defaults_diags = {
diff --git a/drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c 
b/drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c
index d97076648acb..527d5c902878 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c
@@ -77,6 +77,7 @@ static const struct dc_debug_options debug_defaults_drv = {
                 .underflow_assert_delay_us = 0xFFFFFFFF,
                 .dwb_fi_phase = -1, // -1 = disable,
                 .dmub_command_table = true,
+               .exit_idle_opt_for_cursor_updates = true,
                 .disable_idle_power_optimizations = false,
 };

--
2.25.1

Reply via email to