mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 02:52:56 +00:00
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>
This commit is contained in:
parent
a1978f74da
commit
c61205b24b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user