Skip to content

Commit 62978d4

Browse files
Roman Kiryanovpundiramit
authored andcommitted
goldfish: pipe: ANDROID: Add DMA support
This change improves the pipe performance by removing unnesessary memory copying. Bug: 72717639 Bug: 66884503 Change-Id: I0d279f682039e411faf4212713d82ec355c3e9ee Signed-off-by: Roman Kiryanov <rkir@google.com> Signed-off-by: Lingfeng Yang <lfy@google.com>
1 parent 81b0953 commit 62978d4

3 files changed

Lines changed: 442 additions & 2 deletions

File tree

drivers/platform/goldfish/goldfish_pipe.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ struct goldfish_pipe_dev {
8787

8888
/* ptr to platform device's device struct */
8989
struct device *pdev_dev;
90+
91+
/* DMA info */
92+
size_t dma_alloc_total;
9093
};
9194

9295
extern struct goldfish_pipe_dev goldfish_pipe_dev;

0 commit comments

Comments
 (0)