disp: msm: dsi: batching multiple DSI commands using debugfs node

The change batches DSI commands sent using the debugfs node, in a
separate buffer from the TX command buffer to ensure that they are not
triggered before the last command bit is set. Once the last command
bit is set the buffer is then copied to the DSI TX buffer and triggered.

Change-Id: I9ba624e4e19341696a974994817603315c6c8a45
Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
Šī revīzija ir iekļauta:
Satya Rama Aditya Pinapala
2020-10-14 06:52:24 -07:00
vecāks 3668566409
revīzija bbe18a1689
5 mainīti faili ar 103 papildinājumiem un 20 dzēšanām

Parādīt failu

@@ -378,4 +378,15 @@ int dsi_panel_get_io_resources(struct dsi_panel *panel,
void dsi_panel_calc_dsi_transfer_time(struct dsi_host_common_cfg *config,
struct dsi_display_mode *mode, u32 frame_threshold_us);
int dsi_panel_get_cmd_pkt_count(const char *data, u32 length, u32 *cnt);
int dsi_panel_alloc_cmd_packets(struct dsi_panel_cmd_set *cmd,
u32 packet_count);
int dsi_panel_create_cmd_packets(const char *data, u32 length, u32 count,
struct dsi_cmd_desc *cmd);
void dsi_panel_destroy_cmd_packets(struct dsi_panel_cmd_set *set);
void dsi_panel_dealloc_cmd_packets(struct dsi_panel_cmd_set *set);
#endif /* _DSI_PANEL_H_ */