git: drm - Improve hrtimer. Handle HRTIMER_RESTART, and use a precise timer.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Fri Jan 23 10:47:16 PST 2026


commit 3820b9f9589efdaa8796988c76560a62ce389e8e
Author: Imre Vadász <imre at vdsz.com>
Date:   Fri Jan 23 14:11:55 2026 +0100

    drm - Improve hrtimer. Handle HRTIMER_RESTART, and use a precise timer.
    
    This should fix powersaving in i915(4), and the more precise timeout should
    also help powersaving a bit in some cases.

Summary of changes:
 sys/conf/files                      |   1 +
 sys/dev/drm/include/linux/hrtimer.h |  15 ++++-
 sys/dev/drm/linux_hrtimer.c         | 119 ++++++++++++++++++++++++++++--------
 3 files changed, 106 insertions(+), 29 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3820b9f9589efdaa8796988c76560a62ce389e8e


-- 
DragonFly BSD source repository


More information about the Commits mailing list