Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250624170049.27284-2-ville.syrjala@linux.intel.com

-9
-9
drivers/gpu/drm/i915/display/skl_watermark.c
··· 33 33 #include "skl_watermark.h" 34 34 #include "skl_watermark_regs.h" 35 35 36 - /*It is expected that DSB can do posted writes to every register in 37 - * the pipe and planes within 100us. For flip queue use case, the 38 - * recommended DSB execution time is 100us + one SAGV block time. 39 - */ 40 - #define DSB_EXE_TIME 100 41 - 42 36 struct intel_dbuf_state { 43 37 struct intel_global_state base; 44 38 ··· 2893 2899 } 2894 2900 2895 2901 if (fixed_refresh_rate) { 2896 - added_wake_time = DSB_EXE_TIME + 2897 - display->sagv.block_time_us; 2898 - 2899 2902 latency = skl_watermark_max_latency(display, 1); 2900 2903 2901 2904 /* Wa_22020432604 */