diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-03-23 09:10:22 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-26 09:35:56 +0100 |
commit | c61205b24b79cd3708e751ed9c33970f487686ab (patch) | |
tree | a83fa311dfd2f4900a65c4d2e41d623dc7816349 /drivers/gpu/drm/nouveau | |
parent | a1978f74da69565a2e472394c7dcb2cfb31b3e45 (diff) |
drm/nouveau: fix thinko causing init to fail on cards without accel
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |