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

Commit 1f35f554 authored by Da Hoon Pyun's avatar Da Hoon Pyun Committed by Gerrit - the friendly Code Review server
Browse files

msm: npu: Increase IOMMU mapping size to 4GB



This change is to increase NPU IOMMU maping size to 4GB.

Change-Id: Ide81b4f7346f2605e24a15d87673f11e8d1874bf
Signed-off-by: default avatarDa Hoon Pyun <dpyun@codeaurora.org>
parent 2c0bd619
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
#include <linux/of_platform.h>
#include <linux/poll.h>
#include <linux/regulator/consumer.h>
#include <linux/sizes.h>
#include <linux/thermal.h>
#include <linux/soc/qcom/llcc-qcom.h>
#include <soc/qcom/devfreq_devbw.h>
@@ -32,8 +33,8 @@
 */
#define CLASS_NAME              "npu"
#define DRIVER_NAME             "msm_npu"
#define DDR_MAPPED_START_ADDR   0x80000000
#define DDR_MAPPED_SIZE         0x60000000
#define DDR_MAPPED_START_ADDR   0x00000000
#define DDR_MAPPED_SIZE         (SZ_1G * 4ULL)

#define MBOX_OP_TIMEOUTMS 1000