Skip to content

media: intel: ipu7: isys: raise FRAME DROP log level to warn_ratelimited - #110

Open
vunnyso wants to merge 1 commit into
intel:mainfrom
vunnyso:vs-updateLog
Open

vunnyso wants to merge 1 commit into
intel:mainfrom
vunnyso:vs-updateLog

Conversation

@vunnyso

@vunnyso vunnyso commented Sep 24, 2026

Copy link
Copy Markdown

When the firmware reports a capture sync frame drop (INSYS_MSG_ERR_GROUP_CAPTURE / INSYS_MSG_ERR_CAPTURE_SYNC_FRAME_DROP), the driver currently logs the event via dev_dbg(). Because dev_dbg() is compiled out unless CONFIG_DYNAMIC_DEBUG or DEBUG is enabled, real frame drops silently disappear from dmesg on production builds, making capture pipeline issues hard to diagnose from field logs.

Promote the three FRAME DROP dev_dbg() calls to dev_warn_ratelimited() so that drops are always surfaced in dmesg while preventing log floods when many frames are dropped in a burst across pins or streams.

When the firmware reports a capture sync frame drop
(INSYS_MSG_ERR_GROUP_CAPTURE / INSYS_MSG_ERR_CAPTURE_SYNC_FRAME_DROP),
the driver currently logs the event via dev_dbg(). Because dev_dbg()
is compiled out unless CONFIG_DYNAMIC_DEBUG or DEBUG is enabled, real
frame drops silently disappear from dmesg on production builds, making
capture pipeline issues hard to diagnose from field logs.

Promote the three FRAME DROP dev_dbg() calls to dev_warn_ratelimited()
so that drops are always surfaced in dmesg while preventing log floods
when many frames are dropped in a burst across pins or streams.

Signed-off-by: Sodhi, Vunny <vunny.sodhi@intel.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant