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

Commit 9fe72f9e authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau: force noaccel when no PFIFO support present



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent e5398b23
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@

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

#include <subdev/vm.h>

@@ -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 */