Commit 6a0fd03a authored by Ben Skeggs's avatar Ben Skeggs Committed by Dave Airlie
Browse files

drm/nouveau/bus/tu102-: prepare for GSP-RM

parent 45655ff0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@
 */
#include "priv.h"

#include <subdev/gsp.h>

static void
gf100_bus_intr(struct nvkm_bus *bus)
{
@@ -72,5 +74,8 @@ int
gf100_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
	      struct nvkm_bus **pbus)
{
	if (nvkm_gsp_rm(device->gsp))
		return -ENODEV;

	return nvkm_bus_new_(&gf100_bus, device, type, inst, pbus);
}