diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-11-03 14:37:20 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-03 20:14:42 +0300 |
commit | a83e3b4c4454ecdc473cf09aa1c9d1705623c4cc (patch) | |
tree | 165721daa72811beddab5dcf764e1e91b9408adc /sound/soc/intel/skylake/skl-topology.h | |
parent | 6bd9dcf339ebb292fa149ee0e52ea3c9d9822553 (diff) | |
download | linux-a83e3b4c4454ecdc473cf09aa1c9d1705623c4cc.tar.xz |
ASoC: Intel: Skylake: Add D0i3 mode ref counting
For device opened/closed, we check the D0i3 capability for the device
and invoke skl_tplg_d0i3_get/put, which counts the use case based on the
mode supported.
These counters are then used to decide if the device can enter D0i3 mode
of streaming or non-streaming or no D0i3.
Signed-off-by: Jayachandran B <jayachandran.b@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-topology.h')
-rw-r--r-- | sound/soc/intel/skylake/skl-topology.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h index 38809f6d20d6..3b962d84bcb8 100644 --- a/sound/soc/intel/skylake/skl-topology.h +++ b/sound/soc/intel/skylake/skl-topology.h @@ -369,6 +369,9 @@ struct skl_module_cfg *skl_tplg_fe_get_cpr_module( int skl_tplg_update_pipe_params(struct device *dev, struct skl_module_cfg *mconfig, struct skl_pipe_params *params); +void skl_tplg_d0i3_get(struct skl *skl, enum d0i3_capability caps); +void skl_tplg_d0i3_put(struct skl *skl, enum d0i3_capability caps); + int skl_create_pipeline(struct skl_sst *ctx, struct skl_pipe *pipe); int skl_run_pipe(struct skl_sst *ctx, struct skl_pipe *pipe); |