diff options
author | Kai Vehmanen <[email protected]> | 2021-02-05 20:46:30 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2021-02-08 15:57:08 +0100 |
commit | c99fafdfccd75cb9bd91666a23ae022232afa3d5 (patch) | |
tree | 7fc52d276e4a580e62a0daf1b988eb44f0de5fd4 /scripts/gdb/linux/utils.py | |
parent | 87fc20e4a0cbc01fdfc23aeba93f8ce2fc3dccda (diff) |
ASoC: SOF: Intel: hda: release display power at link_power
The i915 display power is requested both by controller (for init
and link reset) as well as by codec driver (for codec control).
There's an additional constraint that on some platforms frequent changes
to display power state may cause visible flicker. To avoid this, the SOF
hda controller requests display power whenever it is active and only
releases it when runtime suspended.
This patch utilizes the new hdac_bus link_power op to plug
into HDA link state changes. By monitoring link state changes,
we can keep the controller side display power wakeref until
the codec driver has completed its work, and only release
the wakeref when codec driver is suspended.
Signed-off-by: Kai Vehmanen <[email protected]>
Acked-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions