Index: sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c =================================================================== RCS file: /cvsroot/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c,v retrieving revision 1.5 diff -u -r1.5 intel_rps.c --- sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c 19 Dec 2021 12:32:15 -0000 1.5 +++ sys/external/bsd/drm2/dist/drm/i915/gt/intel_rps.c 28 Dec 2021 02:32:37 -0000 @@ -9,6 +9,10 @@ #include __KERNEL_RCSID(0, "$NetBSD: intel_rps.c,v 1.5 2021/12/19 12:32:15 riastradh Exp $"); +#if 1 +#include +#endif + #include "i915_drv.h" #include "intel_gt.h" #include "intel_gt_irq.h" @@ -1618,6 +1622,9 @@ void intel_rps_init_early(struct intel_rps *rps) { +#if 1 + db_stacktrace() +#endif mutex_init(&rps->lock); mutex_init(&rps->power.mutex); @@ -1679,6 +1686,9 @@ void intel_rps_fini(struct intel_rps *rps) { +#if 1 + db_stacktrace() +#endif mutex_destroy(&rps->power.mutex); mutex_destroy(&rps->lock);