git: DragonFly_RELEASE_4_8 drm - Fix hrtimer, don't reset timer->function to NULL in timeout handler.

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Jun 24 12:04:42 PDT 2017


commit a713811471f06e33d1b9f28d3200201f776120e3
Author: Imre Vadász <imre at vdsz.com>
Date:   Wed Jun 7 23:21:01 2017 +0200

    drm - Fix hrtimer, don't reset timer->function to NULL in timeout handler.
    
    * The same hrtimer object is activated multiple times by i915(4), so we
      mustn't clear timer->function in the timeout handler.
    
    * This seems to fix the powersaving issues in i915(4) from the update to
      Linux 4.7.10 code in 8621f4070e7cb342161183c980ae7fce2fd8124e.

Summary of changes:
 sys/dev/drm/linux_hrtimer.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a713811471f06e33d1b9f28d3200201f776120e3


-- 
DragonFly BSD source repository



More information about the Commits mailing list