Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: i915drmkms debug log issue
On Sat, 25 Apr 2026, Rui-Xiang Guo wrote:
I'm a bit confused about the DRM debug messages.
For example:
[ 4.6079340] {drm:netbsd:intel_update_max_cdclk+0x8d} Max CD clock rate: 200000 kHz
[ 4.6179412] {drm:netbsd:intel_modeset_init+0x174f} Max dotclock rate: 360000 kHz
Both DRM_DEBUG_KMS messages exist in intel_update_max_cdclk,
but why does the second one show intel_modeset_init?
Interesting. You should ask this on tech-kern@ (and I think, tech-toolchain@).
1. If you add another `DRM_DEBUG_DRIVER("foo\n");` after the second
DRM_DEBUG_DRIVER(), does the first 2 print OK?
2. Does adding a plain `printf("foo\n");` after the 2nd DRM_DEBUG_DRIVER() also
cause the correct function name to be printed?
Ie. DRM_DEBUG_DRIVER() (AKA, __drm_dbg()) should not be the last function being
called.
-RVP
Home |
Main Index |
Thread Index |
Old Index