projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28a38b6
)
drm/msm: don't crash if no msm.vram param
author
Rob Clark
<robdclark@gmail.com>
Mon, 8 Sep 2014 18:24:57 +0000
(14:24 -0400)
committer
Rob Clark
<robdclark@gmail.com>
Thu, 11 Sep 2014 10:49:21 +0000
(06:49 -0400)
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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/msm_drv.c
b/drivers/gpu/drm/msm/msm_drv.c
index
26ee80d
..
fcf9568
100644
(file)
--- a/
drivers/gpu/drm/msm/msm_drv.c
+++ b/
drivers/gpu/drm/msm/msm_drv.c
@@
-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);