Loading drivers/clk/qcom/mdss/mdss-pll.h +8 −1 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading @@ -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 Loading Loading
drivers/clk/qcom/mdss/mdss-pll.h +8 −1 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading @@ -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 Loading