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: MMI-PSA29.97-13-9~17071^2~7^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4a206ffc0bfe8e8c3fc0468a052f5b0bb625a57b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 a4886b36d0fa..c2a8511e855a 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;