Chris Wilson e9037e7f9a drm/i915: Extend intel_wakeref to support delayed puts
In some cases we want to hold onto the wakeref for a little after the
last user so that we can avoid having to drop and then immediately
reacquire it. Allow the last user to specify if they would like to keep
the wakeref alive for a short hysteresis.

v2: Embrace bitfield.h for adjustable flags.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200323103221.14444-1-chris@chris-wilson.co.uk
2020-03-23 12:51:05 +00:00
..
2020-02-21 05:44:40 +10:00
2020-01-20 11:42:57 +10:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2020-02-21 05:44:40 +10:00
2020-02-21 05:44:40 +10:00
2020-01-03 11:43:44 +10:00
2020-01-20 11:42:57 +10:00
2020-02-14 12:57:57 +10:00
2020-02-21 05:44:40 +10:00
2020-02-21 05:44:40 +10:00
2020-02-21 05:44:40 +10:00
2020-02-21 05:44:40 +10:00
2019-07-15 18:11:31 +02:00
2020-01-30 08:04:01 -08:00
2020-02-14 12:53:00 +10:00
2020-02-07 12:22:30 +10:00
2020-01-30 08:04:01 -08:00
2020-02-21 05:44:40 +10:00
2019-12-18 16:09:12 -05:00
2020-02-21 05:44:40 +10:00
2020-02-21 05:44:40 +10:00
2020-01-14 16:22:17 -05:00
2019-10-08 18:29:00 +02:00
2020-02-06 22:01:40 +02:00
2020-01-20 11:42:57 +10:00
2020-01-14 16:22:17 -05:00
2019-12-17 13:57:54 +01:00
2019-07-22 21:24:10 +02:00
2020-01-14 16:22:17 -05:00