From: Ben Skeggs Date: Tue, 27 Mar 2012 04:41:04 +0000 (+1000) Subject: drm/nouveau: oops, create m2mf for nvd9 too X-Git-Tag: v3.4-rc2~33^2~7^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a206ffc0bfe8e8c3fc0468a052f5b0bb625a57b;p=profile%2Fivi%2Fkernel-x86-ivi.git drm/nouveau: oops, create m2mf for nvd9 too Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index a4886b3..c2a8511 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -642,7 +642,7 @@ nouveau_card_channel_init(struct drm_device *dev) OUT_RING (chan, chan->vram_handle); OUT_RING (chan, chan->gart_handle); } else - if (dev_priv->card_type <= NV_C0) { + if (dev_priv->card_type <= NV_D0) { ret = nouveau_gpuobj_gr_new(chan, 0x9039, 0x9039); if (ret) goto error;