drm/msm: don't crash if no msm.vram param
authorRob Clark <robdclark@gmail.com>
Mon, 8 Sep 2014 18:24:57 +0000 (14:24 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 11 Sep 2014 10:49:21 +0000 (06:49 -0400)
commit3a10ba8c6b68d9b7f519cd25f903be2d43b37d9d
treed3118b3bc1c752b0ae3304353501291deb069719
parent28a38b656283bfea04f112abc587ce28760dac25
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>
drivers/gpu/drm/msm/msm_drv.c