mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
drm/nouveau: force noaccel when no PFIFO support present
Signed-off-by: Ben Skeggs <[email protected]>
This commit is contained in:
parent
e5398b23a5
commit
9fe72f9e83
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue