mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
drm/msm: don't crash if no msm.vram param
If VRAM carveout is used, due to no IOMMU, we should have a default value for msm.vram so that we don't simply crash. Reported-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
28a38b6562
commit
3a10ba8c6b
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ module_param(reglog, bool, 0600);
|
|||
#define reglog 0
|
||||
#endif
|
||||
|
||||
static char *vram;
|
||||
static char *vram = "16m";
|
||||
MODULE_PARM_DESC(vram, "Configure VRAM size (for devices without IOMMU/GPUMMU");
|
||||
module_param(vram, charp, 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue