Skip to content

Commit

Permalink
drm/msm: don't crash if no msm.vram param
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Clark committed Sep 11, 2014
1 parent 28a38b6 commit 3a10ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/msm/msm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3a10ba8

Please sign in to comment.