Page MenuHomeFreeBSD

linuxkpi: Include <linux/notifier.h> and <linux/device.h> from <linux/pm_qos.h>
ClosedPublic

Authored by dumbbell on Jun 14 2026, 9:07 AM.
Tags
None
Referenced Files
F170917471: D57570.id184105.diff
Mon, Sep 7, 2:00 PM
F170917365: D57570.id184105.diff
Mon, Sep 7, 2:00 PM
F170917215: D57570.diff
Mon, Sep 7, 1:58 PM
Unknown Object (File)
Sun, Sep 6, 3:37 PM
Unknown Object (File)
Sun, Sep 6, 10:29 AM
Unknown Object (File)
Sat, Sep 5, 6:41 AM
Unknown Object (File)
Sat, Sep 5, 3:10 AM
Unknown Object (File)
Sat, Sep 5, 3:05 AM
Subscribers

Details

Summary

The i915 DRM driver started to depend on the bool type implicitly imported through these headers in Linux 6.13.

The previous fix committed in 67df313015906d84d90df8e37795885e81cf8da5 did not reproduce the same includes as Linux. This may have led to other missing implicit definitions later.

This is part of the update of DRM drivers to Linux 6.13.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dumbbell edited the summary of this revision. (Show Details)
sys/compat/linuxkpi/common/include/linux/pm_qos.h
31–33

why have this commented out?

bz requested changes to this revision.Jul 13 2026, 2:20 PM
bz added a subscriber: bz.

@emaste had a comment for you here. Can you update?

This revision now requires changes to proceed.Jul 13 2026, 2:20 PM

Address comment from @emaste by uncommenting the include of <linux/plist.h> and adding it as a dummy header.

OK. It seemed strange to have a commented header that doesn't exist. IMO just dropping the #include would be OK but no objection to an empty file that we can eventually populate if something starts depending on it.

This revision is now accepted and ready to land.Jul 27 2026, 8:20 PM