drm - Fix hrtimer, don't reset timer->function to NULL in timeout handler.
authorImre Vadász <imre@vdsz.com>
Wed, 7 Jun 2017 21:21:01 +0000 (23:21 +0200)
committerImre Vadász <imre@vdsz.com>
Wed, 7 Jun 2017 21:28:56 +0000 (23:28 +0200)
commita1c669c2dd93fe4b582a517eef04068310bc789b
tree874e0f2fc4e1c2a67339765859d575b5380a35c0
parent704f404a0d28f2071a8c86686d90388c6ad28a26
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.
sys/dev/drm/linux_hrtimer.c