提交 9fe72f9e 编写于 作者: B Ben Skeggs

drm/nouveau: force noaccel when no PFIFO support present

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 e5398b23
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <engine/device.h> #include <engine/device.h>
#include <engine/disp.h> #include <engine/disp.h>
#include <engine/fifo.h>
#include <subdev/vm.h> #include <subdev/vm.h>
...@@ -164,7 +165,7 @@ nouveau_accel_init(struct nouveau_drm *drm) ...@@ -164,7 +165,7 @@ nouveau_accel_init(struct nouveau_drm *drm)
u32 arg0, arg1; u32 arg0, arg1;
int ret; int ret;
if (nouveau_noaccel) if (nouveau_noaccel || !nouveau_fifo(device) /*XXX*/)
return; return;
/* initialise synchronisation routines */ /* initialise synchronisation routines */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册