aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2018-09-04 17:58:54 +0200
committerGreg Kroah-Hartman <[email protected]>2018-09-10 11:15:00 +0200
commitfb16a3835107c469433a71341d198c298449ff4d (patch)
tree1cce16a4cdb00b0c1f1449377946061976227128 /tools/perf/scripts/python/bin/stackcollapse-record
parentd64d58f30c727ebc51b5298ccb1003279d552d6f (diff)
staging: bcm2835-audio: Use coherent device buffers
The memory access to the pages allocated with SNDRV_DMA_TYPE_CONTINUOUS are basically non-coherent, and it becomes a problem when a process accesses via mmap. For the more consistent access, use the device coherent memory, just by replacing the call pattern in the allocator helpers. The only point we need to be careful for is the device object passed there; since bcm2835-audio driver creates fake devices and each card is created on top of that, we need to pass its parent device as the real device object. Signed-off-by: Takashi Iwai <[email protected]> Tested-by: Stefan Wahren <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions