Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;