diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-02-17 05:58:02 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-04-07 06:37:50 +0200 |
commit | ed3d1489d2717a13f3b47b296bb2faa7ce4168da (patch) | |
tree | ba6236e37fa207cc5432773063a3a7dff3041547 /drivers/gpu/drm/nouveau/dispnv04/hw.c | |
parent | drm/nouveau/nvif: access PTIMER through usermode class, if available (diff) | |
download | linux-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.c | 1 |
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 |