Revert "disp: msm: sde: add support to handle mdp limits property"

This reverts commit a4c2827a47.

The change is not needed on 5.4 since BW limits have moved to
user-space per-target based XML file, and there are already other
properties for specifying the various linewidth parameters.

Change-Id: I87d81047678869bba6f8ec98104dec17c7a9ace2
Signed-off-by: Steve Cohen <cohens@codeaurora.org>
This commit is contained in:
Steve Cohen
2020-04-23 14:54:29 -04:00
rodzic d4124a5322
commit 0c86eedd21
3 zmienionych plików z 0 dodań i 241 usunięć

Wyświetl plik

@@ -81,7 +81,6 @@
#define MAX_XIN_COUNT 16
#define SSPP_SUBBLK_COUNT_MAX 2
#define LIMIT_SUBBLK_COUNT_MAX 10
#define SDE_CTL_CFG_VERSION_1_0_0 0x100
#define MAX_INTF_PER_CTL_V1 2
@@ -1337,42 +1336,6 @@ struct sde_perf_cfg {
u32 num_mnoc_ports;
};
/**
* struct limit_vector_cfg - information on the usecase for each limit
* @usecase: usecase for each limit
* @value: id corresponding to each usecase
*/
struct limit_vector_cfg {
const char *usecase;
u32 value;
};
/**
* struct limit_value_cfg - information on the value of usecase
* @use_concur: usecase for each limit
* @value: value corresponding to usecase for each limit
*/
struct limit_value_cfg {
u32 use_concur;
u32 value;
};
/**
* struct sde_limit_cfg - information om different mdp limits
* @name: name of the limit property
* @lmt_vec_cnt: number of vector values for each limit
* @lmt_case_cnt: number of usecases for each limit
* @vector_cfg: pointer to the vector entries containing info on usecase
* @value_cfg: pointer to the value of each vector entry
*/
struct sde_limit_cfg {
const char *name;
u32 lmt_vec_cnt;
u32 lmt_case_cnt;
struct limit_vector_cfg *vector_cfg;
struct limit_value_cfg *value_cfg;
};
/**
* struct sde_mdss_cfg - information of MDSS HW
* This is the main catalog data structure representing
@@ -1571,9 +1534,6 @@ struct sde_mdss_cfg {
u32 qdss_count;
struct sde_qdss_cfg qdss[MAX_BLOCKS];
u32 limit_count;
struct sde_limit_cfg limit_cfg[LIMIT_SUBBLK_COUNT_MAX];
/* Add additional block data structures here */
struct sde_perf_cfg perf;