mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 13:18:00 +07:00
media: atomisp: use Yocto Aero default hmm pool sizes
Yocto Aero driver has a different default for hmm pools. Use the definitions there. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
e19718f6de
commit
9ac8e4b90b
@ -56,21 +56,21 @@ module_param(skip_fwload, uint, 0644);
|
||||
MODULE_PARM_DESC(skip_fwload, "Skip atomisp firmware load");
|
||||
|
||||
/* set reserved memory pool size in page */
|
||||
static unsigned int repool_pgnr;
|
||||
static unsigned int repool_pgnr = 32768;
|
||||
module_param(repool_pgnr, uint, 0644);
|
||||
MODULE_PARM_DESC(repool_pgnr,
|
||||
"Set the reserved memory pool size in page (default:0)");
|
||||
"Set the reserved memory pool size in page (default:32768)");
|
||||
|
||||
/* set dynamic memory pool size in page */
|
||||
unsigned int dypool_pgnr = UINT_MAX;
|
||||
module_param(dypool_pgnr, uint, 0644);
|
||||
MODULE_PARM_DESC(dypool_pgnr,
|
||||
"Set the dynamic memory pool size in page (default:0)");
|
||||
"Set the dynamic memory pool size in page (default: unlimited)");
|
||||
|
||||
bool dypool_enable;
|
||||
bool dypool_enable = true;
|
||||
module_param(dypool_enable, bool, 0644);
|
||||
MODULE_PARM_DESC(dypool_enable,
|
||||
"dynamic memory pool enable/disable (default:disable)");
|
||||
"dynamic memory pool enable/disable (default:enabled)");
|
||||
|
||||
/* memory optimization: deferred firmware loading */
|
||||
bool defer_fw_load;
|
||||
|
Loading…
Reference in New Issue
Block a user