disp: msm: dsi: remove custom upstream MSM DSI flags
Change removes the use of custom MSM DSI flags that will not be available as part of GKI.2.0 Change-Id: I2337a54b1d6346ebdc18e9e6c3c8e7a07f421bdd Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
@@ -358,14 +358,18 @@ enum dsi_video_traffic_mode {
|
||||
|
||||
/**
|
||||
* struct dsi_cmd_desc - description of a dsi command
|
||||
* @msg: dsi mipi msg packet
|
||||
* @last_command: indicates whether the cmd is the last one to send
|
||||
* @post_wait_ms: post wait duration
|
||||
* @msg: dsi mipi msg packet
|
||||
* @last_command: indicates whether the cmd is the last one to send
|
||||
* @post_wait_ms: post wait duration
|
||||
* @ctrl: index of DSI controller
|
||||
* @ctrl_flags: controller flags
|
||||
*/
|
||||
struct dsi_cmd_desc {
|
||||
struct mipi_dsi_msg msg;
|
||||
bool last_command;
|
||||
u32 post_wait_ms;
|
||||
u32 ctrl;
|
||||
u32 ctrl_flags;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -786,4 +790,13 @@ static inline u64 dsi_h_total_dce(struct dsi_mode_info *mode)
|
||||
return h_total;
|
||||
}
|
||||
|
||||
/**
|
||||
* dsi_host_transfer_sub() - transfers DSI commands from host to panel
|
||||
* @host: pointer to the DSI mipi host device
|
||||
* @cmd: DSI command to be transferred
|
||||
*
|
||||
* Return: error code.
|
||||
*/
|
||||
int dsi_host_transfer_sub(struct mipi_dsi_host *host, struct dsi_cmd_desc *cmd);
|
||||
|
||||
#endif /* _DSI_DEFS_H_ */
|
||||
|
Reference in New Issue
Block a user