From: Ben Skeggs Date: Fri, 15 Jan 2010 02:21:37 +0000 (+1000) Subject: drm/nouveau: fix thinko in nv04_instmem.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0d92971dd6973d865a873c24df2d7bfe06ec4486;p=linux-beck.git drm/nouveau: fix thinko in nv04_instmem.c Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv04_instmem.c b/drivers/gpu/drm/nouveau/nv04_instmem.c index a20c206625a2..a3b9563a6f60 100644 --- a/drivers/gpu/drm/nouveau/nv04_instmem.c +++ b/drivers/gpu/drm/nouveau/nv04_instmem.c @@ -30,7 +30,7 @@ nv04_instmem_determine_amount(struct drm_device *dev) * of vram. For now, only reserve a small piece until we know * more about what each chipset requires. */ - switch (dev_priv->chipset & 0xf0) { + switch (dev_priv->chipset) { case 0x40: case 0x47: case 0x49: