disp: msm: dsi: optimize wait time in DSI timing DB update

Timing DB needs to be disabled after panel vnsyc.
Update the wait time to reflect difference in line time
between MDP and panel vsync.

Change-Id: Ib5282d67995e8379ead928218f31a8f9fe7fa978
Signed-off-by: Shamika Joshi <quic_shamjosh@quicinc.com>
This commit is contained in:
Shamika Joshi
2023-01-11 09:56:44 -08:00
parent b86343b75b
commit 495a6a8731
7 changed files with 53 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
* Copyright (C) 2013 Red Hat
* Author: Rob Clark <robdclark@gmail.com>
@@ -704,6 +704,13 @@ bool sde_encoder_is_line_insertion_supported(struct drm_encoder *drm_enc);
*/
struct sde_hw_ctl *sde_encoder_get_hw_ctl(struct sde_connector *c_conn);
/*
* sde_encoder_get_programmed_fetch_time - gets the programmable fetch time for video encoders
* @drm_enc: Pointer to drm encoder structure
* @Return: programmable fetch time in microseconds
*/
u32 sde_encoder_get_programmed_fetch_time(struct drm_encoder *encoder);
void sde_encoder_add_data_to_minidump_va(struct drm_encoder *drm_enc);
/**