Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cea2d1ce authored by Narendra Muppalla's avatar Narendra Muppalla
Browse files

disp: msm: sde: add macro for default fps



This changes adds macro for default fps.

Change-Id: Ieb1d38bd6fbfcd3fec7e2cc6e39636b6297dd0ef
Signed-off-by: default avatarNarendra Muppalla <NarendraM@codeaurora.org>
parent 9ec255db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ static void _sde_encoder_pm_qos_add_request(struct drm_encoder *drm_enc)
	cpu_dma_latency = sde_kms->catalog->perf.cpu_dma_latency;
	cpumask_clear(&sde_enc->valid_cpu_mask);

	if (sde_enc->mode_info.frame_rate > FPS60)
	if (sde_enc->mode_info.frame_rate > DEFAULT_FPS)
		cpu_mask = to_cpumask(&sde_kms->catalog->perf.cpu_mask_perf);
	if (!cpu_mask &&
			sde_encoder_check_curr_mode(drm_enc,
+1 −1
Original line number Diff line number Diff line
@@ -210,7 +210,7 @@ static u32 programmable_fetch_get_num_lines(
	struct sde_encoder_phys *phys_enc = &vid_enc->base;

	u32 needed_prefill_lines, needed_vfp_lines, actual_vfp_lines;
	const u32 fixed_prefill_fps = 60;
	const u32 fixed_prefill_fps = DEFAULT_FPS;
	u32 default_prefill_lines =
		phys_enc->hw_intf->cap->prog_fetch_lines_worst_case;
	u32 start_of_frame_lines =
+2 −0
Original line number Diff line number Diff line
@@ -105,6 +105,8 @@

#define SDE_NAME_SIZE  12

#define DEFAULT_FPS 60

/* timeout in frames waiting for frame done */
#define SDE_FRAME_DONE_TIMEOUT	60

+0 −2
Original line number Diff line number Diff line
@@ -69,8 +69,6 @@ enum {

#define SDE_QSEED_DEFAULT_DYN_EXP 0x0

#define DEFAULT_REFRESH_RATE	60

/**
 * enum sde_plane_qos - Different qos configurations for each pipe
 *