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

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

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

#include <subdev/gsp.h>

static const struct nvkm_falcon_func
gp102_pmu_flcn = {
	.disable = gm200_flcn_disable,
@@ -54,5 +56,8 @@ int
gp102_pmu_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
	      struct nvkm_pmu **ppmu)
{
	if (nvkm_gsp_rm(device->gsp))
		return -ENODEV;

	return nvkm_pmu_new_(gp102_pmu_fwif, device, type, inst, ppmu);
}