Skip to content

Commit 28b24de

Browse files
Rodrigo Siqueiraalexdeucher
authored andcommitted
drm/amd/display: Remove unused code
This commit removes a legacy debug_defaults_diags struct. Reviewed-by: Leo Li <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Hamza Mahfooz <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 003215f commit 28b24de

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

drivers/gpu/drm/amd/display/dc/resource/dcn10/dcn10_resource.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -559,17 +559,6 @@ static const struct dc_debug_options debug_defaults_drv = {
559559
.using_dml2 = false,
560560
};
561561

562-
static const struct dc_debug_options debug_defaults_diags = {
563-
.disable_dmcu = false,
564-
.force_abm_enable = false,
565-
.clock_trace = true,
566-
.disable_stutter = true,
567-
.disable_pplib_clock_request = true,
568-
.disable_pplib_wm_range = true,
569-
.underflow_assert_delay_us = 0xFFFFFFFF,
570-
.enable_legacy_fast_update = true,
571-
};
572-
573562
static void dcn10_dpp_destroy(struct dpp **dpp)
574563
{
575564
kfree(TO_DCN10_DPP(*dpp));
@@ -1398,8 +1387,6 @@ static bool dcn10_resource_construct(
13981387

13991388
if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV)
14001389
dc->debug = debug_defaults_drv;
1401-
else
1402-
dc->debug = debug_defaults_diags;
14031390

14041391
/*************************************************
14051392
* Create resources *

0 commit comments

Comments
 (0)