|
@@ -198,12 +198,15 @@ void intel_pipe_update_end(struct intel_crtc *crtc, struct intel_flip_work *work
|
|
ktime_us_delta(end_vbl_time, crtc->debug.start_vbl_time),
|
|
ktime_us_delta(end_vbl_time, crtc->debug.start_vbl_time),
|
|
crtc->debug.min_vbl, crtc->debug.max_vbl,
|
|
crtc->debug.min_vbl, crtc->debug.max_vbl,
|
|
crtc->debug.scanline_start, scanline_end);
|
|
crtc->debug.scanline_start, scanline_end);
|
|
- } else if (ktime_us_delta(end_vbl_time, crtc->debug.start_vbl_time) >
|
|
|
|
- VBLANK_EVASION_TIME_US)
|
|
|
|
|
|
+ }
|
|
|
|
+#ifdef CONFIG_DRM_I915_DEBUG_VBLANK_EVADE
|
|
|
|
+ else if (ktime_us_delta(end_vbl_time, crtc->debug.start_vbl_time) >
|
|
|
|
+ VBLANK_EVASION_TIME_US)
|
|
DRM_WARN("Atomic update on pipe (%c) took %lld us, max time under evasion is %u us\n",
|
|
DRM_WARN("Atomic update on pipe (%c) took %lld us, max time under evasion is %u us\n",
|
|
pipe_name(pipe),
|
|
pipe_name(pipe),
|
|
ktime_us_delta(end_vbl_time, crtc->debug.start_vbl_time),
|
|
ktime_us_delta(end_vbl_time, crtc->debug.start_vbl_time),
|
|
VBLANK_EVASION_TIME_US);
|
|
VBLANK_EVASION_TIME_US);
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
static void
|
|
static void
|