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

Commit e402783f authored by Benet Clark's avatar Benet Clark
Browse files

msm: mdss: Clean up PP framework for unchanged PP features



When creating the framework for handling PP versioning, all PP features
were given interface update and space in the framework for handling
versioning. However, the CSC hardware will not change, and
therefore will not need any updates. This change removes the framework
update done for CSC.

Change-Id: Idc6c0b7ea62717ff1d1f2e4c827481e5db1976a8
Signed-off-by: default avatarBenet Clark <benetc@codeaurora.org>
parent a3d80366
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -267,11 +267,6 @@ void *pp_get_driver_ops(struct mdp_pp_driver_ops *ops)
	ops->pp_ops[GAMUT].pp_get_config = pp_gamut_get_config;
	ops->pp_ops[GAMUT].pp_get_version = pp_gamut_get_version;

	/* CSC ops */
	ops->pp_ops[CSC].pp_set_config = NULL;
	ops->pp_ops[CSC].pp_get_config = NULL;
	ops->pp_ops[CSC].pp_get_version = NULL;

	/* Dither ops */
	ops->pp_ops[DITHER].pp_set_config = pp_dither_set_config;
	ops->pp_ops[DITHER].pp_get_config = pp_dither_get_config;
+0 −12
Original line number Diff line number Diff line
@@ -440,20 +440,9 @@ struct mdp_csc_cfg {
	uint32_t csc_post_lv[MDP_CSC_CLAMP_SIZE];
};

struct mdp_csc_cfg_v1_7 {
	uint32_t csc_mv[MDP_CSC_MATRIX_COEFF_SIZE];
	uint32_t csc_pre_bv[MDP_CSC_BIAS_SIZE];
	uint32_t csc_post_bv[MDP_CSC_BIAS_SIZE];
	uint32_t csc_pre_lv[MDP_CSC_CLAMP_SIZE];
	uint32_t csc_post_lv[MDP_CSC_CLAMP_SIZE];
};

struct mdp_csc_cfg_data {
	uint32_t block;
	uint32_t version;
	uint32_t flags;
	struct mdp_csc_cfg csc_data;
	void *cfg_payload;
};

struct mdp_pa_cfg {
@@ -1362,7 +1351,6 @@ enum {
	GC,
	PA,
	GAMUT,
	CSC,
	DITHER,
	QSEED,
	HIST_LUT,