drm/msm/sde: update kickoff sequence for command mode

Current command mode sequence configures the ctl_start
on primary controller for frame "N" and does not wait
for any event before updating LM/SSPP for frame "N+1".
This causes the pingpong timeout issue with rsc solver
mode. This patch updates the kickoff sequence with
ctl prepare configuration and ctl_start interrupt wait
before allowing to program the LM/SSP for frame "N+1".

Change-Id: I8108e96cb4a408b7fa8416a3a7694f62171d77b2
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
diff --git a/drivers/gpu/drm/msm/sde/sde_hw_ctl.h b/drivers/gpu/drm/msm/sde/sde_hw_ctl.h
index 7ae43b7..ace05e8 100644
--- a/drivers/gpu/drm/msm/sde/sde_hw_ctl.h
+++ b/drivers/gpu/drm/msm/sde/sde_hw_ctl.h
@@ -91,6 +91,14 @@
 	void (*trigger_start)(struct sde_hw_ctl *ctx);
 
 	/**
+	 * kickoff prepare is in progress hw operation for sw
+	 * controlled interfaces: DSI cmd mode and WB interface
+	 * are SW controlled
+	 * @ctx       : ctl path ctx pointer
+	 */
+	void (*trigger_pending)(struct sde_hw_ctl *ctx);
+
+	/**
 	 * kickoff rotator operation for Sw controlled interfaces
 	 * DSI cmd mode and WB interface are SW controlled
 	 * @ctx       : ctl path ctx pointer