disp: msm: sde: remove unused functions from sde code
Cleanup unused functions from all modules in sde driver. Change-Id: Ia0e72ab9c281b4200a63ce35bf184e83fe1db5d2 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
da71fc99c4
commit
506508e1cd
@@ -101,22 +101,6 @@ enum sde_enc_rc_states {
|
||||
SDE_ENC_RC_STATE_IDLE
|
||||
};
|
||||
|
||||
/**
|
||||
* struct sde_encoder_ops - callback functions for generic sde encoder
|
||||
* Individual callbacks documented below.
|
||||
*/
|
||||
struct sde_encoder_ops {
|
||||
/**
|
||||
* phys_init - phys initialization function
|
||||
* @type: controller type
|
||||
* @controller_id: controller id
|
||||
* @phys_init_params: Pointer of structure sde_enc_phys_init_params
|
||||
* Returns: Pointer of sde_encoder_phys, NULL if failed
|
||||
*/
|
||||
void *(*phys_init)(enum sde_intf_type type,
|
||||
u32 controller_id, void *phys_init_params);
|
||||
};
|
||||
|
||||
/**
|
||||
* struct sde_encoder_virt - virtual encoder. Container of one or more physical
|
||||
* encoders. Virtual encoder manages one "logical" display. Physical
|
||||
@@ -127,7 +111,6 @@ struct sde_encoder_ops {
|
||||
* @enc_spin_lock: Virtual-Encoder-Wide Spin Lock for IRQ purposes
|
||||
* @bus_scaling_client: Client handle to the bus scaling interface
|
||||
* @te_source: vsync source pin information
|
||||
* @ops: Encoder ops from init function
|
||||
* @num_phys_encs: Actual number of physical encoders contained.
|
||||
* @phys_encs: Container of physical encoders managed.
|
||||
* @phys_vid_encs: Video physical encoders for panel mode switch.
|
||||
@@ -206,8 +189,6 @@ struct sde_encoder_virt {
|
||||
uint32_t display_num_of_h_tiles;
|
||||
uint32_t te_source;
|
||||
|
||||
struct sde_encoder_ops ops;
|
||||
|
||||
unsigned int num_phys_encs;
|
||||
struct sde_encoder_phys *phys_encs[MAX_PHYS_ENCODERS_PER_VIRTUAL];
|
||||
struct sde_encoder_phys *phys_vid_encs[MAX_PHYS_ENCODERS_PER_VIRTUAL];
|
||||
@@ -447,18 +428,6 @@ struct drm_encoder *sde_encoder_init(
|
||||
struct drm_device *dev,
|
||||
struct msm_display_info *disp_info);
|
||||
|
||||
/**
|
||||
* sde_encoder_init_with_ops - initialize virtual encoder object with init ops
|
||||
* @dev: Pointer to drm device structure
|
||||
* @disp_info: Pointer to display information structure
|
||||
* @ops: Pointer to encoder ops structure
|
||||
* Returns: Pointer to newly created drm encoder
|
||||
*/
|
||||
struct drm_encoder *sde_encoder_init_with_ops(
|
||||
struct drm_device *dev,
|
||||
struct msm_display_info *disp_info,
|
||||
const struct sde_encoder_ops *ops);
|
||||
|
||||
/**
|
||||
* sde_encoder_destroy - destroy previously initialized virtual encoder
|
||||
* @drm_enc: Pointer to previously created drm encoder structure
|
||||
|
Reference in New Issue
Block a user