disp: msm: dsi: add api to control dsi active status

Add DSI api to control the connection status of the
DSI interface. This would be used in the VM usecase,
where the connection would be enabled/disabled during
device assign/unassign while switching to the VM.

Change-Id: Ifff41244824ade7a6b8dca77651d82fd5207f8e0
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
Dieser Commit ist enthalten in:
Veera Sundaram Sankaran
2020-04-04 20:38:47 -07:00
committet von Gerrit - the friendly Code Review server
Ursprung 88acaa31b8
Commit 988b1c6fc5
2 geänderte Dateien mit 15 neuen und 1 gelöschten Zeilen

Datei anzeigen

@@ -186,6 +186,7 @@ struct dsi_display_ext_bridge {
* @queue_cmd_waits Indicates if wait for dma commands done has to be queued.
* @dma_cmd_workq: Pointer to the workqueue of DMA command transfer done
* wait sequence.
* @is_active: status of the display
*/
struct dsi_display {
struct platform_device *pdev;
@@ -278,6 +279,7 @@ struct dsi_display {
/* panel id of the display */
u64 panel_id;
bool is_active;
};
int dsi_display_dev_probe(struct platform_device *pdev);