diff options
author | Chris Wilson <[email protected]> | 2019-04-24 21:07:13 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-04-24 22:25:26 +0100 |
commit | d91e657876a96af4f00cc374e26a7a9e8c40d6de (patch) | |
tree | 1bdbdb1d916984d98943e6f0bc3d23636509754c /net/lapb/lapb_in.c | |
parent | 112ed2d31a46f4704085ad925435b77e62b8abee (diff) |
drm/i915: Introduce struct intel_wakeref
For controlling runtime pm of the GT and engines, we would like to have
a callback to do extra work the first time we wake up and the last time
we drop the wakeref. This first/last access needs serialisation and so
we encompass a mutex with the regular intel_wakeref_t tracker.
v2: Drop the _once naming and report the errors.
Signed-off-by: Chris Wilson <[email protected]>
Cc; Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions