disp: msm: sde: add delay after porches changed
This change adds 2 vsync delay after changing the timing engine parameters namely the porches to update the refresh rate. This ensures that panel vsync is updated as per new timing before modifying it again. Change-Id: I5866ea2f6f2e68bc8ce7435c4a5dbe27d8ebdd91 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
This commit is contained in:
@@ -52,13 +52,16 @@ enum sde_enc_split_role {
|
||||
* @SDE_ENC_ENABLED: Encoder is enabled
|
||||
* @SDE_ENC_ERR_NEEDS_HW_RESET: Encoder is enabled, but requires a hw_reset
|
||||
* to recover from a previous error
|
||||
* @SDE_ENC_TIMING_ENGINE_RECONFIG: Encoder is enabled and timing engine
|
||||
* parameters are updated
|
||||
*/
|
||||
enum sde_enc_enable_state {
|
||||
SDE_ENC_DISABLING,
|
||||
SDE_ENC_DISABLED,
|
||||
SDE_ENC_ENABLING,
|
||||
SDE_ENC_ENABLED,
|
||||
SDE_ENC_ERR_NEEDS_HW_RESET
|
||||
SDE_ENC_ERR_NEEDS_HW_RESET,
|
||||
SDE_ENC_TIMING_ENGINE_RECONFIG,
|
||||
};
|
||||
|
||||
struct sde_encoder_phys;
|
||||
|
Reference in New Issue
Block a user