Page MenuHomeFreeBSD

LinnuxKPI: drm2: retire timespec_to_jiffies()
ClosedPublic

Authored by bz on Jan 7 2025, 10:51 PM.
Tags
None
Referenced Files
F166524584: D48379.diff
Fri, Aug 14, 12:52 AM
Unknown Object (File)
Wed, Aug 12, 1:58 PM
Unknown Object (File)
Mon, Aug 10, 2:59 AM
Unknown Object (File)
Sat, Aug 8, 3:57 AM
Unknown Object (File)
Tue, Jul 28, 12:06 PM
Unknown Object (File)
Sun, Jul 26, 11:06 PM
Unknown Object (File)
Sat, Jul 18, 4:34 AM
Unknown Object (File)
Jul 10 2026, 12:07 AM
Subscribers

Details

Summary

Linux has removed timespec_to_jiffies() half a decade ago [1].
I cannot find any use of it anymore in recent drm-kmod branches
or in the tree so retire it.

While here also retire it from drm2.

Reported by: emaste (D48318) [1].
Sponsored by: The freeBSD Foundation
MFC after: 2 weeks

Test Plan

grep for the function name in sys, and
drm-kmod 5.4-lts, 5.10-lts, 5.15-lts, and 6.1-lts.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Jan 7 2025, 10:51 PM
This revision is now accepted and ready to land.Jan 8 2025, 1:15 PM
bz added a subscriber: dumbbell.

@dumbbell can you check drm-kmod will be fine on all relevant branches with this too (especially the older ones)?

I compiled-tested all supported drm-kmod branches and that was fine. Thank you!

This revision was automatically updated to reflect the committed changes.