From: Dave Airlie Date: Thu, 18 Sep 2008 00:11:43 +0000 (+1000) Subject: make text reserve 256k X-Git-Tag: submit/1.0/20121108.012404~642^2~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f23d4a44cdb17abff8f1ab3585e533ae0572224;p=profile%2Fivi%2Flibdrm.git make text reserve 256k --- diff --git a/linux-core/radeon_gem.c b/linux-core/radeon_gem.c index 98105e7..12a0358 100644 --- a/linux-core/radeon_gem.c +++ b/linux-core/radeon_gem.c @@ -804,7 +804,7 @@ int radeon_gem_mm_init(struct drm_device *dev) radeon_init_memory_map(dev); -#define VRAM_RESERVE_TEXT (64*1024) +#define VRAM_RESERVE_TEXT (256*1024) /* need to reserve 256 for text mode for now */ dev_priv->mm.vram_visible -= VRAM_RESERVE_TEXT; pg_offset = VRAM_RESERVE_TEXT >> PAGE_SHIFT; drm_bo_init_mm(dev, DRM_BO_MEM_VRAM, pg_offset, /*dev_priv->mm.vram_offset >> PAGE_SHIFT,*/ diff --git a/shared-core/radeon_drv.h b/shared-core/radeon_drv.h index 662d9cc..96f9a98 100644 --- a/shared-core/radeon_drv.h +++ b/shared-core/radeon_drv.h @@ -1478,7 +1478,7 @@ do { \ * Ring control */ -#define RADEON_VERBOSE 1 +#define RADEON_VERBOSE 0 #define RING_LOCALS int write, _nr; unsigned int mask; u32 *ring;