Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f57d8b12 authored by Ahmed Abdul-Salam's avatar Ahmed Abdul-Salam
Browse files

msm: VPU: Increase system and session queue sizes



Need to increase the size of the communication queues between driver
and firmware, as currently they can fill up when transferring large
tuning configuration tables. Total size of the queues is less than
256KB, which is still well short of the allowed 1MB.

Change-Id: I8a9393b8c92c582551089bf1b44ddc5989bb6c1d
Signed-off-by: default avatarAhmed Abdul-Salam <aabdulsa@codeaurora.org>
parent bfaea932
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,8 +44,8 @@ struct hfi_queue_table_header {
#define VPU_MAX_QUEUE_NUM		(VPU_MAX_TXQ_NUM + VPU_MAX_RXQ_NUM)

/* qhdr_q_size in bytes */
#define VPU_SYS_QUEUE_SIZE		SZ_1K
#define VPU_SESSION_QUEUE_SIZE		SZ_2K
#define VPU_SYS_QUEUE_SIZE		SZ_16K
#define VPU_SESSION_QUEUE_SIZE		SZ_32K
#define VPU_LOGGING_QUEUE_SIZE		SZ_64K

#define TX_Q_IDX_TO_Q_ID(idx)		(VPU_SYSTEM_CMD_QUEUE_ID + (idx * 2))