Commit 8017ecb1 authored by Jake Wang's avatar Jake Wang Committed by Alex Deucher
Browse files

drm/amd/display: Added root clock optimization flags



[Why & How]
Added root clock optimization debug flags for future debugging.

Reviewed-by: default avatarNicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: default avatarSolomon Chiu <solomon.chiu@amd.com>
Signed-off-by: default avatarJake Wang <haonan.wang2@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ee373411
Loading
Loading
Loading
Loading
+18 −0
Original line number Original line Diff line number Diff line
@@ -477,6 +477,23 @@ union mem_low_power_enable_options {
	uint32_t u32All;
	uint32_t u32All;
};
};


union root_clock_optimization_options {
	struct {
		bool dpp: 1;
		bool dsc: 1;
		bool hdmistream: 1;
		bool hdmichar: 1;
		bool dpstream: 1;
		bool symclk32_se: 1;
		bool symclk32_le: 1;
		bool symclk_fe: 1;
		bool physymclk: 1;
		bool dpiasymclk: 1;
		uint32_t reserved: 22;
	} bits;
	uint32_t u32All;
};

struct dc_debug_data {
struct dc_debug_data {
	uint32_t ltFailCount;
	uint32_t ltFailCount;
	uint32_t i2cErrorCount;
	uint32_t i2cErrorCount;
@@ -637,6 +654,7 @@ struct dc_debug_options {
	bool legacy_dp2_lt;
	bool legacy_dp2_lt;
#endif
#endif
	union mem_low_power_enable_options enable_mem_low_power;
	union mem_low_power_enable_options enable_mem_low_power;
	union root_clock_optimization_options root_clock_optimization;
	bool force_vblank_alignment;
	bool force_vblank_alignment;


	/* Enable dmub aux for legacy ddc */
	/* Enable dmub aux for legacy ddc */