drm/msm/dsi-staging: update frame transfer time calculations

Change updates frame transfer time calculations. Frame threshold
is provided as input to decide on the final transfer time.
Panel dsi clock node followed by mdp transfer time node
will take priority in selecting final transfer time than frame
threshold time.

Change-Id: I40c3abfc635cd9b338b705535612ac32e047ce6e
Signed-off-by: Vara Reddy <varar@codeaurora.org>
Этот коммит содержится в:
Vara Reddy
2019-06-12 17:28:42 -07:00
родитель 9d87e36a77
Коммит 98ac941a1b
5 изменённых файлов: 28 добавлений и 13 удалений

Просмотреть файл

@@ -204,6 +204,9 @@ struct dsi_ctrl_interrupts {
* @debugfs_root: Root for debugfs entries.
* @misr_enable: Frame MISR enable/disable
* @misr_cache: Cached Frame MISR value
* @frame_threshold_time_us: Frame threshold time in microseconds, where
* dsi data lane will be idle i.e from pingpong done to
* next TE for command mode.
* @phy_isolation_enabled: A boolean property allows to isolate the phy from
* dsi controller and run only dsi controller.
* @null_insertion_enabled: A boolean property to allow dsi controller to
@@ -255,6 +258,8 @@ struct dsi_ctrl {
bool misr_enable;
u32 misr_cache;
u32 frame_threshold_time_us;
/* Check for spurious interrupts */
unsigned long jiffies_start;
unsigned int error_interrupt_count;