msm: sde: Add dynamic OT support for rotator REGDMA
Dynamic OT is applied before rotator operation to control QoS.
Since REGDMA cannot access QoS registers directly, rotator
driver needs to wait for rotator idle before changing any
OT settings. Once new OT is applied, REGDMA can resume
queueing until OT changes again.
CRs-Fixed: 989206
Change-Id: I2fd07a957b0d8414c855fafcff7a2613695efff0
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
diff --git a/drivers/media/platform/msm/sde/rotator/sde_rotator_r1_internal.h b/drivers/media/platform/msm/sde/rotator/sde_rotator_r1_internal.h
index b451775..d9b4f38 100644
--- a/drivers/media/platform/msm/sde/rotator/sde_rotator_r1_internal.h
+++ b/drivers/media/platform/msm/sde/rotator/sde_rotator_r1_internal.h
@@ -116,6 +116,7 @@
struct sde_mdp_plane_sizes src_planes;
struct sde_mdp_mixer *mixer_left;
struct sde_mdp_mixer *mixer_right;
+ struct sde_mdp_shared_reg_ctrl clk_ctrl;
u32 params_changed;
u32 offset;
};