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

Imre Vadasz ivadasz at crater.dragonflybsd.org
Wed Jun 7 14:29:19 PDT 2017


commit a1c669c2dd93fe4b582a517eef04068310bc789b
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/a1c669c2dd93fe4b582a517eef04068310bc789b


-- 
DragonFly BSD source repository



More information about the Commits mailing list