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

This commit is contained in:
qctecmdr 2020-10-12 22:01:21 -07:00 committed by Gerrit - the friendly Code Review server
commit 9c2d2c1a88

View file

@ -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