Commit ed3d1489 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/nvif: protect waits against GPU falling off the bus



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 58e92b5e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,7 +35,8 @@

#include <subdev/bios/gpio.h>
#include <subdev/gpio.h>
#include <subdev/timer.h>

#include <nvif/timer.h>

int nv04_dac_output_offset(struct drm_encoder *encoder)
{
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
#include "hw.h"

#include <subdev/bios/pll.h>
#include <nvif/timer.h>

#define CHIPSET_NFORCE 0x01a0
#define CHIPSET_NFORCE2 0x01f0
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@

#include <nvif/cl507c.h>
#include <nvif/event.h>
#include <nvif/timer.h>

#include <drm/drm_atomic_helper.h>
#include <drm/drm_fourcc.h>
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
#include "head.h"

#include <nvif/cl507d.h>
#include <nvif/timer.h>

#include "nouveau_bo.h"

+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@

#include <nouveau_bo.h>

#include <nvif/timer.h>

void
corec37d_wndw_owner(struct nv50_core *core)
{
Loading