summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/dispnv04/hw.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-02-17 05:58:02 +0100
committerBen Skeggs <bskeggs@redhat.com>2020-04-07 06:37:50 +0200
commited3d1489d2717a13f3b47b296bb2faa7ce4168da (patch)
treeba6236e37fa207cc5432773063a3a7dff3041547 /drivers/gpu/drm/nouveau/dispnv04/hw.c
parentdrm/nouveau/nvif: access PTIMER through usermode class, if available (diff)
downloadlinux-ed3d1489d2717a13f3b47b296bb2faa7ce4168da.tar.xz
linux-ed3d1489d2717a13f3b47b296bb2faa7ce4168da.zip
drm/nouveau/nvif: protect waits against GPU falling off the bus
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv04/hw.c')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv04/hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv04/hw.c b/drivers/gpu/drm/nouveau/dispnv04/hw.c
index 3fdfafa8b0ad..b674d68ef28a 100644
--- a/drivers/gpu/drm/nouveau/dispnv04/hw.c
+++ b/drivers/gpu/drm/nouveau/dispnv04/hw.c
@@ -26,6 +26,7 @@
#include "hw.h"
#include <subdev/bios/pll.h>
+#include <nvif/timer.h>
#define CHIPSET_NFORCE 0x01a0
#define CHIPSET_NFORCE2 0x01f0