|
@@ -207,7 +207,7 @@ struct dc_clocks {
|
|
|
int phyclk_khz;
|
|
|
};
|
|
|
|
|
|
-struct dc_debug {
|
|
|
+struct dc_debug_options {
|
|
|
enum visual_confirm visual_confirm;
|
|
|
bool sanity_checks;
|
|
|
bool max_disp_clk;
|
|
@@ -259,13 +259,15 @@ struct dc_debug {
|
|
|
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;
|
|
@@ -274,8 +276,7 @@ struct dc {
|
|
|
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;
|
|
@@ -311,6 +312,8 @@ struct dc {
|
|
|
|
|
|
/* FBC compressor */
|
|
|
struct compressor *fbc_compressor;
|
|
|
+
|
|
|
+ struct dc_debug_data debug_data;
|
|
|
};
|
|
|
|
|
|
enum frame_buffer_mode {
|