On Fri, 13 Mar 2026 07:20:30 -0600, Jim Cromie <[email protected]> wrote:
> drm_crtc_vblank_helper_get_vblank_timestamp_internal() is called about
> ~100 times per sec, on a single display. It currently calls
> drm_debug_enabled(DRM_UT_VBL) to avoid doing ktime_to_timespec64()
> conversions when the debug logging is disabled.
> 
> When CONFIG_DRM_USE_DYNAMIC_DEBUG=Y, the drm_debug_enabled() is
> redundant, because the following drm_dbg_vbl() already carries a
> static-key optimization.
> 
> [...]

Reviewed-by: Louis Chauvet <[email protected]>

-- 
Louis Chauvet <[email protected]>

Reply via email to