Skip to content

Commit

Permalink
drm/nouveau: force noaccel when no PFIFO support present
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed May 2, 2013
1 parent e5398b2 commit 9fe72f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/nouveau/nouveau_drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

#include <engine/device.h>
#include <engine/disp.h>
#include <engine/fifo.h>

#include <subdev/vm.h>

Expand Down Expand Up @@ -164,7 +165,7 @@ nouveau_accel_init(struct nouveau_drm *drm)
u32 arg0, arg1;
int ret;

if (nouveau_noaccel)
if (nouveau_noaccel || !nouveau_fifo(device) /*XXX*/)
return;

/* initialise synchronisation routines */
Expand Down

0 comments on commit 9fe72f9

Please sign in to comment.