From 29a463f963afcd0da83dff2dfd9f0fdc2720dc35 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 9 Jul 2009 00:59:54 +0100 Subject: Expose more memory via glamo-kms-fb This increases the amount of memory exposed via the framebuffer. This should eventually allow an fbdev-based DDX or a KMS DDX to run on the same kernel, albeit suboptimally. Signed-off-by: Thomas White --- drivers/mfd/glamo/glamo-drm-private.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/mfd/glamo/glamo-drm-private.h') diff --git a/drivers/mfd/glamo/glamo-drm-private.h b/drivers/mfd/glamo/glamo-drm-private.h index b7a9932e6ca..59030cb2313 100644 --- a/drivers/mfd/glamo/glamo-drm-private.h +++ b/drivers/mfd/glamo/glamo-drm-private.h @@ -33,6 +33,11 @@ #include "glamo-core.h" +/* Memory to allocate for the framebuffer. + * The rest is reserved for the DRM memory manager */ +#define GLAMO_FRAMEBUFFER_ALLOCATION (4*1024*1024) + + struct glamodrm_handle { /* This device */ -- cgit v1.2.3