disp: msm: dsi: update threshold time for high refresh rate
Use lower frame threshold time for high refresh rates. For resfreh rates greater than 120 FPS the threshold time is 500us. Change-Id: Ie5a37c0eec6c2c2cbf90e039eb6b15bc7edd2492 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
#define DEFAULT_PANEL_JITTER_ARRAY_SIZE 2
|
#define DEFAULT_PANEL_JITTER_ARRAY_SIZE 2
|
||||||
#define MAX_PANEL_JITTER 10
|
#define MAX_PANEL_JITTER 10
|
||||||
#define DEFAULT_PANEL_PREFILL_LINES 25
|
#define DEFAULT_PANEL_PREFILL_LINES 25
|
||||||
|
#define HIGH_REFRESH_RATE_THRESHOLD_TIME_US 500
|
||||||
#define MIN_PREFILL_LINES 35
|
#define MIN_PREFILL_LINES 35
|
||||||
|
|
||||||
static void dsi_dce_prepare_pps_header(char *buf, u32 pps_delay_ms)
|
static void dsi_dce_prepare_pps_header(char *buf, u32 pps_delay_ms)
|
||||||
@@ -3578,6 +3579,9 @@ void dsi_panel_calc_dsi_transfer_time(struct dsi_host_common_cfg *config,
|
|||||||
|
|
||||||
frame_time_us = mult_frac(1000, 1000, (timing->refresh_rate));
|
frame_time_us = mult_frac(1000, 1000, (timing->refresh_rate));
|
||||||
|
|
||||||
|
if (timing->refresh_rate >= 120)
|
||||||
|
frame_threshold_us = HIGH_REFRESH_RATE_THRESHOLD_TIME_US;
|
||||||
|
|
||||||
if (timing->dsc_enabled) {
|
if (timing->dsc_enabled) {
|
||||||
nslices = (timing->h_active)/(dsc->config.slice_width);
|
nslices = (timing->h_active)/(dsc->config.slice_width);
|
||||||
/* (slice width x bit-per-pixel + packet overhead) x
|
/* (slice width x bit-per-pixel + packet overhead) x
|
||||||
|
Reference in New Issue
Block a user