From: Rodrigo Siqueira <rodrigo.sique...@amd.com>

This commit removes a legacy debug_defaults_diags struct.

Reviewed-by: Leo Li <sunpeng...@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.sique...@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahf...@amd.com>
---
 .../amd/display/dc/resource/dcn10/dcn10_resource.c  | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn10/dcn10_resource.c 
b/drivers/gpu/drm/amd/display/dc/resource/dcn10/dcn10_resource.c
index 4f1bd71b9ad9..770a380cc03d 100644
--- a/drivers/gpu/drm/amd/display/dc/resource/dcn10/dcn10_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/resource/dcn10/dcn10_resource.c
@@ -559,17 +559,6 @@ static const struct dc_debug_options debug_defaults_drv = {
                .using_dml2 = false,
 };
 
-static const struct dc_debug_options debug_defaults_diags = {
-               .disable_dmcu = false,
-               .force_abm_enable = false,
-               .clock_trace = true,
-               .disable_stutter = true,
-               .disable_pplib_clock_request = true,
-               .disable_pplib_wm_range = true,
-               .underflow_assert_delay_us = 0xFFFFFFFF,
-               .enable_legacy_fast_update = true,
-};
-
 static void dcn10_dpp_destroy(struct dpp **dpp)
 {
        kfree(TO_DCN10_DPP(*dpp));
@@ -1398,8 +1387,6 @@ static bool dcn10_resource_construct(
 
        if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV)
                dc->debug = debug_defaults_drv;
-       else
-               dc->debug = debug_defaults_diags;
 
        /*************************************************
         *  Create resources                             *
-- 
2.46.1

Reply via email to