mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2025-02-21 13:53:43 +00:00
swiotlb: Setting default IO TBL value to 1MB
swiotlb was allocting the 64MB of memory at boot up time, because we used CMA so we do not use it. We can reduce it to 1MB. Change-Id: I137f6e9069f86dcc9dcd883868b3e8a08c29d710 Signed-off-by: Abhimanyu Garg <agarg@codeaurora.org>
This commit is contained in:
parent
d21f97b73c
commit
ad1d7a397d
@ -116,8 +116,8 @@ unsigned long swiotlb_nr_tbl(void)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(swiotlb_nr_tbl);
|
||||
|
||||
/* default to 64MB */
|
||||
#define IO_TLB_DEFAULT_SIZE (64UL<<20)
|
||||
/* default to 1MB */
|
||||
#define IO_TLB_DEFAULT_SIZE SZ_1M
|
||||
unsigned long swiotlb_size_or_default(void)
|
||||
{
|
||||
unsigned long size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user