commit | 2057409a3ccd9d7b8237a806497b947aa1a01fdd | [log] [tgz] |
---|---|---|
author | Keyon Jie <yang.jie@linux.intel.com> | Tue Jul 07 10:34:23 2020 |
committer | Marcin Rajwa <marcin.rajwa@linux.intel.com> | Wed Jul 08 14:21:07 2020 |
tree | 14f87c6d93ae6726f68b923d7dc388fc0d475375 | |
parent | 80987a236601582164275fee97671a94ef83d13d [diff] |
handler: enter to pm gate only when it is active We should decrease the ref_cnt only when the DSP is active (dsp_d0_sref > 0), otherwise, consective PM_GATE IPC asking for enter PM GATE with different flags will lead to minus ref_cnt and the DSP won't be abled to activate from the PM_GATE with SOF_PM_PPG flag. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
See docs
mkdir build && cd build
Baytrail / Cherrytrail:
cmake -DTOOLCHAIN=xtensa-byt-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-byt-elf ..
Haswell / Broadwell:
cmake -DTOOLCHAIN=xtensa-hsw-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-hsw-elf ..
Apollolake:
cmake -DTOOLCHAIN=xtensa-apl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-apl-elf ..
Cannonlake:
cmake -DTOOLCHAIN=xtensa-cnl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-cnl-elf ..
Baytrail:
make baytrail_defconfig
Cherrytrail:
make cherrytrail_defconfig
Haswell:
make haswell_defconfig
Broadwell:
make broadwell_defconfig
Apollolake:
make apollolake_defconfig
Cannonlake:
make cannonlake_defconfig
make menuconfig
make bin # or `make bin -j<jobs>` for parallel build
See unit testing documentation
TODO: Add additional notes about how to deploy this on a live system
See Contributing to the Project
This project is licensed under the BSD Clause 3 - see the LICENCE file for details