Commit Graph

2282 Commits

Author SHA1 Message Date
Liam Girdwood 8c20df92fa
Merge pull request #612 from thesofproject/github-owners-mwierzbix-add
github: added mwierzbix as owner of preproc
2018-11-22 11:29:28 +00:00
Liam Girdwood b0e3dbd5b4
Merge pull request #610 from lbetlej/fix_in_set_bits_macro
Fixes for macros used for bit masks creation.
2018-11-22 11:25:42 +00:00
Liam Girdwood 4d005d0b2f
Merge pull request #613 from xiulipan/pr/bytfix
Fix BYT issues
2018-11-22 11:23:52 +00:00
Liam Girdwood ace76bc6ec
Merge pull request #607 from xiulipan/pr/etracefix
trace: increase trace pos for each event
2018-11-22 11:05:37 +00:00
Pan Xiuli a9157a7d92 host: fix wrong usage of dma_channel_get
Need not to use stream tag for dw_dma as the comment said

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-22 18:32:59 +08:00
Pan Xiuli 44ea105c06 ipc: set timer delay to 0 for ipc_get_page_descriptors
Set the timer delay to avoid none init value broke the dma copy.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-22 18:32:59 +08:00
Pan Xiuli 8845e25f4a dma: enable legacy platform dmac
Add channel number to dmac in legacy platforms, and change the dma_init
function to fit the curruct code framework.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-22 18:32:59 +08:00
Michal Jerzy Wierzbicki a8e6dbdb80 github: added mwierzbix as owner of preproc
Signed-off-by: Michal Jerzy Wierzbicki <michalx.wierzbicki@linux.intel.com>
2018-11-22 11:11:02 +01:00
Michal Jerzy Wierzbicki 044077cb86 shell-scripts: human-readable preprocessor output
Added script I used to read preprocessor output during preprocessor metaprogramming development. Normally it is highly unreadable, this tool makes things a wee bit easier.

Signed-off-by: Michal Jerzy Wierzbicki <michalx.wierzbicki@linux.intel.com>
2018-11-22 09:57:58 +01:00
Pan Xiuli ce17a23ab3 trace: increase trace pos for each event
position for trace->pos is not updated, make error trace only show the
newest one. Now update the pos to make all error trace can be seen.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-22 13:28:26 +08:00
Liam Girdwood 93540c74eb rom: ci: build xtensa ROM images for CI boot testing.
Some platforms like APL, CNL and ICL have a ROM that read the manifest
and loads the boot loader. This builds a simple ROM so that qemu can
boot APL, CNL and ICL firmware images for CI boot testing.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 20:58:45 +00:00
Lech Betlej 0cc0ab6061 Fixes for macros used for bit masks creation.
Bit mask setting macros for for specific parameters were expanded
in a way that was causing unexpected compiler behaviour. Specifically:
literal 1 was treated as 32bit integer ((1 << ((b_hi)-(b_lo) + 1)) -1)
was expanded to shift the 32bit integer by 32. ((1 << (31 - 0 + 1)) -1)
Macro MASK() was was missing left shift.

Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
2018-11-21 19:38:51 +01:00
Liam Girdwood c0a77679d1 rom: linker: Add linker scripts for ROM platforms.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 17:22:21 +00:00
Liam Girdwood ca1e5d0bba build: clean: Don't delete .bin files during make clean
rom-<plat>.bin files need to stay around for testing after script builds.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 17:16:36 +00:00
Liam Girdwood 7a7934332f
Merge pull request #605 from thesofproject/revert-597-topic/sof-dev-fix-version-number
Revert "scripts: add local version number file"
2018-11-21 17:15:30 +00:00
Liam Girdwood d548d8f3a6
Revert "scripts: add local version number file" 2018-11-21 17:15:14 +00:00
Liam Girdwood 3ce2d070f3
Merge pull request #604 from thesofproject/lrg/topic/github
github: Add initial github owners/reviewers file.
2018-11-21 16:28:02 +00:00
Liam Girdwood feb850d4eb
Merge pull request #600 from thesofproject/lrg/topic/scripts
scripts: xtensa-build-all: Add support for > 1 makefile job
2018-11-21 16:27:18 +00:00
Liam Girdwood 2e8f293e28 github: Add initial github owners/reviewers file.
This file will help github to determine who will review PRs.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 16:25:57 +00:00
Liam Girdwood baf2806626 scripts: xtensa-build-all: Add support for > 1 makefile job
Add -j option to allow setting Makefile jobs.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 15:52:00 +00:00
Liam Girdwood 6da07a9116
Merge pull request #137 from keqiaozhang/icl-tplg
topology: add 4-ch dmic topology for ICL
2018-11-21 15:42:18 +00:00
Liam Girdwood 69d109e489
Merge pull request #136 from mengdonglin/topic/rm-apl-hdmi-only-m4
topology: Remove sof-apl-hdmi.m4
2018-11-21 15:40:27 +00:00
Liam Girdwood e9f33e6482
Merge pull request #603 from tlauda/topic/pm-ctx-ipc-return
ipc: send generic reply for pm_context messages
2018-11-21 15:39:34 +00:00
Liam Girdwood 35fd06df8d
Merge pull request #599 from bkokoszx/dma-buffer-overflow-fix
trace: dma: dma oveflow fix
2018-11-21 15:38:13 +00:00
Liam Girdwood 7d661d3979
Merge pull request #601 from mrajwa/icl_work
DMIC: Added power gating.
2018-11-21 14:57:28 +00:00
Tomasz Lauda 15d0c4c3ea ipc: send generic reply for pm_context messages
Uses generic reply for pm_context ipc messages.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-11-21 13:51:48 +01:00
Zhang Keqiao 093f6b70da topology: add 4-ch dmic topology for ICL
Signed-off-by: Zhang Keqiao <keqiao.zhang@linux.intel.com>
2018-11-21 16:06:21 +08:00
Mengdong Lin 7e2f4e3b9c topology: Remove sof-apl-hdmi.m4
sof-apl-hdmi.m4 is no longer needed.

It was used in early stage of HDA enablement as the 1st reference.
Now HDA settings are added to UP2/GLK/WHL platform m4 files.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
2018-11-20 19:37:48 -05:00
Marcin Rajwa 04c97d024c DMIC: Added power gating.
Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
2018-11-20 22:54:37 +01:00
Liam Girdwood 43081afa6d
Merge pull request #598 from tlauda/topic/issue-531
clk: trace error on wrong clock type
2018-11-20 19:55:43 +00:00
Liam Girdwood 0db8f3d1db
Merge pull request #597 from zhuyingjiang/topic/sof-dev-fix-version-number
scripts: add local version number file
2018-11-20 19:52:05 +00:00
Bartosz Kokoszko c517d01d5a trace: dma: dma oveflow fix
Case when w_ptr and r_ptr of dma buffer are equal, means
that buffer is empty. During adding traces to buffer, we
should't lead to that equality.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-20 14:33:17 +01:00
Tomasz Lauda c66c02838b clk: trace error on wrong clock type
Avoids null dereference in clock_set_freq in case
of wrong clock type.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-11-20 10:44:36 +01:00
Zhu Yingjiang 0a433c831e scripts: add local version number file
we now using git tag for version number control, but if
we release the code without .git/ folder, the git tag version
number is not present, so will cause compile error.
add the .tarball-version file as the local version number file,
it still can be generated by the autogen.sh from git tag. So
everytime anyone make a git tag should still modify the
.tarball-version file.

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
2018-11-20 14:32:59 +08:00
Liam Girdwood c70284445a
Merge pull request #131 from mwierzbix/coredumper-initial
Coredumper: initial
2018-11-19 20:02:19 +00:00
Michal Jerzy Wierzbicki 70227d6a89 Coredumper: initial
Added tool to process coredumps, and to feed gdb commands to examine what caused the dump.

Signed-off-by: Michal Jerzy Wierzbicki <michalx.wierzbicki@linux.intel.com>
2018-11-19 17:04:40 +01:00
Liam Girdwood 041a56c541
Merge pull request #593 from lbetlej/LDOCTL_access_cleanup
LDO Control - unification of control macros for LDOCTL bits
2018-11-19 14:38:00 +00:00
Liam Girdwood 5434ce0f35
Merge pull request #578 from bkokoszx/trace-comp/pipe-ids
pipeline: remove tracing invalid pipe/comp ids
2018-11-19 14:27:26 +00:00
Bartosz Kokoszko db6d9fc3bb pipeline: remove tracing invalid pipe/comp ids
In functions pipeline_buffer_connect and pipeline_comp_connect
I have removed possibility to make log with pipe/comp ids, because
pipeline ptr in struct comp_dev is not initialize until
connect_upstream or connect_downstream invocation.

fixes #562

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-19 15:02:56 +01:00
Lech Betlej c522b6692e LDO Control - unification of control macros for LDOCTL bits
Unified access macros across ApolloLake, CannonLake, SueCreek, Icelake.
Including clean up in HP SRAM init procedure at boot loader.

Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
2018-11-19 13:56:18 +01:00
Liam Girdwood c648a119df
Merge pull request #133 from bkokoszx/remove-rmbox
rmbox: removing rmbox
2018-11-19 12:55:12 +00:00
Bartosz Kokoszko ac7fb0060d rmbox: removing rmbox
fixes #127

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-19 12:00:16 +01:00
Liam Girdwood a01fd66665
Merge pull request #132 from cujomalainey/soft-cleanup
SOFT cleanup
2018-11-17 09:45:57 +00:00
Curtis Malainey d710f99de9 Update sof-icl-nocodec
Update graph

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-16 15:28:47 -08:00
Curtis Malainey 4194dae527 Update sof-hsw-rt5640
Update comments and graph

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-16 15:27:33 -08:00
Curtis Malainey 25e6b20f03 Fix sof-apl-da7219 typo
Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-16 15:24:32 -08:00
Curtis Malainey c1c6842036 Update sof-glk-da7219
Update graph and comments

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-16 15:22:34 -08:00
Curtis Malainey c304613744 Update sof-cnl-rt274
Update graph to represent actual layout

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-16 15:17:45 -08:00
Curtis Malainey 2331cfaf9e Update sof-cht-nocodec
Update graph comments

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-16 15:14:03 -08:00
Curtis Malainey 3560320ca3 Update sof-cht-max98090 graph
Update to properly reflect code

Signed-off-by: Curtis Malainey <cujomalainey@google.com>
2018-11-16 15:11:58 -08:00