]> Git Repo - J-linux.git/commitdiff
drm/amd/display: Add debug option for idle optimizations on cursor updates
authorAlvin Lee <[email protected]>
Fri, 3 Jun 2022 20:39:48 +0000 (16:39 -0400)
committerAlex Deucher <[email protected]>
Mon, 25 Jul 2022 21:18:02 +0000 (17:18 -0400)
For optimizations and debug purposes we added an option to exit idle
operations on cursor updates.

Acked-by: Alex Hung <[email protected]>
Signed-off-by: Alvin Lee <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c

index 2278181ad3d6095efad6cdd8f12bf49c1f226e39..9a26d24b579f739c769aed46c508448508ca4e70 100644 (file)
@@ -868,6 +868,7 @@ static const struct dc_debug_options debug_defaults_drv = {
        },
        .use_max_lb = true,
        .force_disable_subvp = true,
+       .exit_idle_opt_for_cursor_updates = true,
        .enable_single_display_2to1_odm_policy = true,
        .enable_dp_dig_pixel_rate_div_policy = 1,
 };
index ea5160d0c92e94704c742d0978de64405d11ae53..8157e40d2c7efb9a129f770b4395ef9e63b0e646 100644 (file)
@@ -869,6 +869,7 @@ static const struct dc_debug_options debug_defaults_drv = {
        },
        .use_max_lb = true,
        .force_disable_subvp = true,
+       .exit_idle_opt_for_cursor_updates = true,
        .enable_single_display_2to1_odm_policy = true,
        .enable_dp_dig_pixel_rate_div_policy = 1,
 };
This page took 0.055856 seconds and 4 git commands to generate.