Commit c61205b2 authored by Ben Skeggs's avatar Ben Skeggs Committed by Dave Airlie

drm/nouveau: fix thinko causing init to fail on cards without accel

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent a1978f74
...@@ -852,7 +852,7 @@ nouveau_card_init(struct drm_device *dev) ...@@ -852,7 +852,7 @@ nouveau_card_init(struct drm_device *dev)
if (ret) if (ret)
goto out_pm; goto out_pm;
if (!dev_priv->noaccel) { if (dev_priv->eng[NVOBJ_ENGINE_GR]) {
ret = nouveau_card_channel_init(dev); ret = nouveau_card_channel_init(dev);
if (ret) if (ret)
goto out_fence; goto out_fence;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment