From: Ben Skeggs Date: Thu, 22 Mar 2012 23:10:22 +0000 (+1000) Subject: drm/nouveau: fix thinko causing init to fail on cards without accel X-Git-Tag: MMI-PSA29.97-13-9~17130^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c61205b24b79cd3708e751ed9c33970f487686ab;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/nouveau: fix thinko causing init to fail on cards without accel Signed-off-by: Ben Skeggs Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index a3ae91fa8141..a4886b36d0fa 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -852,7 +852,7 @@ nouveau_card_init(struct drm_device *dev) if (ret) goto out_pm; - if (!dev_priv->noaccel) { + if (dev_priv->eng[NVOBJ_ENGINE_GR]) { ret = nouveau_card_channel_init(dev); if (ret) goto out_fence;