}
 
 static void hack_bounding_box(struct dcn_bw_internal_vars *v,
-               struct dc_debug *dbg,
+               struct dc_debug_options *dbg,
                struct dc_state *context)
 {
        if (dbg->pipe_split_policy == MPC_SPLIT_AVOID)
 
                        lt_settings.lane_settings[0].PRE_EMPHASIS);
 
        if (status != LINK_TRAINING_SUCCESS)
-               link->ctx->dc->debug.debug_data.ltFailCount++;
+               link->ctx->dc->debug_data.ltFailCount++;
 
        return status;
 }
 
        int phyclk_khz;
 };
 
-struct dc_debug {
+struct dc_debug_options {
        enum visual_confirm visual_confirm;
        bool sanity_checks;
        bool max_disp_clk;
        bool scl_reset_length10;
        bool hdmi20_disable;
        bool skip_detection_link_training;
+};
 
-       struct {
-               uint32_t ltFailCount;
-               uint32_t i2cErrorCount;
-               uint32_t auxErrorCount;
-       } debug_data;
+struct dc_debug_data {
+       uint32_t ltFailCount;
+       uint32_t i2cErrorCount;
+       uint32_t auxErrorCount;
 };
+
+
 struct dc_state;
 struct resource_pool;
 struct dce_hwseq;
        struct dc_caps caps;
        struct dc_cap_funcs cap_funcs;
        struct dc_config config;
-       struct dc_debug debug;
-
+       struct dc_debug_options debug;
        struct dc_context *ctx;
 
        uint8_t link_count;
 
        /* FBC compressor */
        struct compressor *fbc_compressor;
+
+       struct dc_debug_data debug_data;
 };
 
 enum frame_buffer_mode {
 
 
 static void dce_clock_read_integrated_info(struct dce_dccg *clk_dce)
 {
-       struct dc_debug *debug = &clk_dce->base.ctx->dc->debug;
+       struct dc_debug_options *debug = &clk_dce->base.ctx->dc->debug;
        struct dc_bios *bp = clk_dce->base.ctx->dc_bios;
        struct integrated_info info = { { { 0 } } };
        struct dc_firmware_info fw_info = { { 0 } };
 #ifdef CONFIG_X86
 struct dccg *dcn1_dccg_create(struct dc_context *ctx)
 {
-       struct dc_debug *debug = &ctx->dc->debug;
+       struct dc_debug_options *debug = &ctx->dc->debug;
        struct dc_bios *bp = ctx->dc_bios;
        struct dc_firmware_info fw_info = { { 0 } };
        struct dce_dccg *clk_dce = kzalloc(sizeof(*clk_dce), GFP_KERNEL);
 
                .num_pll = 6,
 };
 
-static const struct dc_debug debug_defaults = {
+static const struct dc_debug_options debug_defaults = {
                .disable_clock_gate = true,
 };
 
 
                .num_pll = 4,
 };
 
-static const struct dc_debug debug_defaults_drv = {
+static const struct dc_debug_options debug_defaults_drv = {
                .sanity_checks = true,
                .disable_dmcu = true,
                .force_abm_enable = false,
                .max_downscale_src_width = 3840,
 };
 
-static const struct dc_debug debug_defaults_diags = {
+static const struct dc_debug_options debug_defaults_diags = {
                .disable_dmcu = true,
                .force_abm_enable = false,
                .timing_trace = true,