Commit 4e3f3add authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915: Set PKG_C_LATENCY.added_wake_time to 0



AFAIK PKG_C_LATENCY.added_wake_time only matters for flip queue.
As long as we're not using that there's no point in adding any
extra wake time.

Reviewed-by: default avatarUma Shankar <uma.shankar@intel.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250624170049.27284-2-ville.syrjala@linux.intel.com
parent 0dc6bfb5
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -33,12 +33,6 @@
#include "skl_watermark.h"
#include "skl_watermark_regs.h"

/*It is expected that DSB can do posted writes to every register in
 * the pipe and planes within 100us. For flip queue use case, the
 * recommended DSB execution time is 100us + one SAGV block time.
 */
#define DSB_EXE_TIME 100

struct intel_dbuf_state {
	struct intel_global_state base;

@@ -2899,9 +2893,6 @@ intel_program_dpkgc_latency(struct intel_atomic_state *state)
	}

	if (fixed_refresh_rate) {
		added_wake_time = DSB_EXE_TIME +
			display->sagv.block_time_us;

		latency = skl_watermark_max_latency(display, 1);

		/* Wa_22020432604 */