-
7a84205...
by
Marcin Rajwa <email address hidden>
on 2020-01-16
-
clk: waiti: change clocks selection according to power state
This patch makes HP ring oscilator a default clock
and use LP ring oscilator once we anter low power
state.
Signed-off-by: Marcin Rajwa <email address hidden>
-
97ec50e...
by
Marcin Rajwa <email address hidden>
on 2020-01-16
-
Revert "topology: increase max period size allowed"
This reverts commit 81855e6f9c9b12c82888a39aee3ac6156d2eb7ea.
Signed-off-by: Marcin Rajwa <email address hidden>
-
eddf218...
by
Liam Girdwood <email address hidden>
on 2019-11-07
-
logger: fix build errors with gcc 9.1.x
Latest GCC does additional checks. This patch fixes the following build
error.
Scanning dependencies of target sof-logger
[ 0%] Building C object logger/CMakeFiles/sof-logger.dir/convert.c.o
/home/lrg/work/sof/sof/tools/logger/convert.c: In function ‘serial_read’:
/home/lrg/work/sof/sof/tools/logger/convert.c:311:2: error: converting a packed ‘struct log_entry_header’ pointer (alignment 1) to a ‘uint32_t’ {aka ‘unsigned int’} pointer (alignment 4) may result in an unaligned pointer value [-Werror=address-of-packed-member]
311 | for (len = 0, n = (uint32_t *)&dma_log; len < sizeof(dma_log); n++) {
| ^~~
In file included from /home/lrg/work/sof/sof/tools/logger/convert.c:15:
/home/lrg/work/sof/sof/tools/../src/include/user/trace.h:94:8: note: defined here
94 | struct log_entry_header {
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [logger/CMakeFiles/sof-logger.dir/build.make:76: logger/CMakeFiles/sof-logger.dir/convert.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:91: logger/CMakeFiles/sof-logger.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Signed-off-by: Liam Girdwood <email address hidden>
-
81855e6...
by
Marcin Rajwa <email address hidden>
on 2020-01-13
-
topology: increase max period size allowed
This patch increrases maximum allowed period size
to be of buffer size. This is because
alsa put dependencies on these two values, making
allocation of big host buffer impossible if
period size is small muiltiple of requested
buffer size.
Signed-off-by: Marcin Rajwa <email address hidden>
-
63c1baf...
by
Slawomir Blauciak <email address hidden>
on 2020-01-10
-
kpb: trace fix
Signed-off-by: Slawomir Blauciak <email address hidden>
-
10ab4c2...
by
Marcin Rajwa <email address hidden>
on 2019-12-11
-
kpb: refactor some of KPBs macros
This patch refactor KPBs macros:
KPB_SAMPLING_WIDTH to KPB_SAMPLES_PER_MS as this is
exactly what this macro stands for - the amount of
samples we take each milisecond.
KPB_NR_OF_CHANNELS to KPB_NUM_OF_CHANNELS as the later
is more meaningful
Signed-off-by: Marcin Rajwa <email address hidden>
-
5a95d96...
by
Marcin Rajwa <email address hidden>
on 2019-10-30
-
kpb: rework of validate_host_params() function
This patch slightly reworks validate_host_params()
function to check how big is host buffer. If it is
big enough to store all data from history buffer we
can skip further validation.
Signed-off-by: Marcin Rajwa <email address hidden>
-
0958797...
by
Marcin Rajwa <email address hidden>
on 2019-10-30
-
kpb: check if draining speed should be controlled
This patch checks if draining should be controlled
in terms of speed. Such condition may be necessary
if host buffer is smaller than KPB's history buffer.
Signed-off-by: Marcin Rajwa <email address hidden>
-
7b249c5...
by
Marcin Rajwa <email address hidden>
on 2019-10-30
-
kpb: move validation of host params to prepare()
This patch moves the validation of host params to
prepare() method. Therefore we can tell user right
away something is wrong with his params instead of
waiting till draining.
Signed-off-by: Marcin Rajwa <email address hidden>
-
90bce06...
by
Marcin Rajwa <email address hidden>
on 2019-12-09
-
kpb: refactor kpb->hb_buffer_size
This patch changes name of the variable to be more
meaningful
Signed-off-by: Marcin Rajwa <email address hidden>