mirror of
https://github.com/armbian/build.git
synced 2025-08-15 23:56:57 +02:00
28 lines
954 B
Diff
28 lines
954 B
Diff
From f695d6bfdd099ec6f59a73aa792b97df80c72d54 Mon Sep 17 00:00:00 2001
|
|
From: Paolo Sabatino <paolo.sabatino@gmail.com>
|
|
Date: Sun, 26 Jan 2025 14:49:18 +0100
|
|
Subject: [PATCH] increase pl330 microcode buffer size
|
|
|
|
suggestion comes from the scatter/gather functionality as
|
|
proposed here: https://github.com/radxa/kernel/commit/ec0b65dbc59793426b6dc7af06ab6675f4a24940
|
|
---
|
|
drivers/dma/pl330.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
|
|
index 82a9fe88ad54..eb322c7ae5de 100644
|
|
--- a/drivers/dma/pl330.c
|
|
+++ b/drivers/dma/pl330.c
|
|
@@ -246,7 +246,7 @@ enum pl330_byteswap {
|
|
* For typical scenario, at 1word/burst, 10MB and 20MB xfers per req
|
|
* should be enough for P<->M and M<->M respectively.
|
|
*/
|
|
-#define MCODE_BUFF_PER_REQ 256
|
|
+#define MCODE_BUFF_PER_REQ 512
|
|
|
|
/* Use this _only_ to wait on transient states */
|
|
#define UNTIL(t, s) while (!(_state(t) & (s))) cpu_relax();
|
|
--
|
|
2.43.0
|
|
|