Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c2d2c1a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: qcom: mdss: Update dfps data struct for FB targets"

parents e63cbea4 3ee5dd66
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -53,11 +53,18 @@ enum {
};

#define DFPS_MAX_NUM_OF_FRAME_RATES 16
#ifdef CONFIG_FB_MSM_MDSS
#define PLL_TRIM_CODES_SIZE 2
#else
#define PLL_TRIM_CODES_SIZE 3
#endif

struct dfps_pll_codes {
	uint32_t pll_codes_1;
	uint32_t pll_codes_2;
#ifndef CONFIG_FB_MSM_MDSS
	uint32_t pll_codes_3;
#endif
};

struct dfps_codes_info {
@@ -143,7 +150,7 @@ struct mdss_pll_resources {
	/*
	 * caching the pll trim codes in the case of dynamic refresh
	 */
	int		cache_pll_trim_codes[3];
	int		cache_pll_trim_codes[PLL_TRIM_CODES_SIZE];

	/*
	 * for maintaining the status of saving trim codes