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:
Родитель
a1978f74da
Коммит
c61205b24b
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче