153e60da4SBen Skeggs /*
253e60da4SBen Skeggs * Copyright 2012 Red Hat Inc.
353e60da4SBen Skeggs *
453e60da4SBen Skeggs * Permission is hereby granted, free of charge, to any person obtaining a
553e60da4SBen Skeggs * copy of this software and associated documentation files (the "Software"),
653e60da4SBen Skeggs * to deal in the Software without restriction, including without limitation
753e60da4SBen Skeggs * the rights to use, copy, modify, merge, publish, distribute, sublicense,
853e60da4SBen Skeggs * and/or sell copies of the Software, and to permit persons to whom the
953e60da4SBen Skeggs * Software is furnished to do so, subject to the following conditions:
1053e60da4SBen Skeggs *
1153e60da4SBen Skeggs * The above copyright notice and this permission notice shall be included in
1253e60da4SBen Skeggs * all copies or substantial portions of the Software.
1353e60da4SBen Skeggs *
1453e60da4SBen Skeggs * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1553e60da4SBen Skeggs * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1653e60da4SBen Skeggs * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1753e60da4SBen Skeggs * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
1853e60da4SBen Skeggs * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1953e60da4SBen Skeggs * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2053e60da4SBen Skeggs * OTHER DEALINGS IN THE SOFTWARE.
2153e60da4SBen Skeggs *
2253e60da4SBen Skeggs * Authors: Ben Skeggs, Maarten Lankhorst, Ilia Mirkin
2353e60da4SBen Skeggs */
2453e60da4SBen Skeggs #include "priv.h"
2553e60da4SBen Skeggs
2653e60da4SBen Skeggs #include <nvif/class.h>
2753e60da4SBen Skeggs
2853e60da4SBen Skeggs static const struct nvkm_falcon_func
2953e60da4SBen Skeggs gt215_msppp = {
3053e60da4SBen Skeggs .init = g98_msppp_init,
3153e60da4SBen Skeggs .sclass = {
3253e60da4SBen Skeggs { -1, -1, GT212_MSPPP },
3353e60da4SBen Skeggs {}
3453e60da4SBen Skeggs }
3553e60da4SBen Skeggs };
3653e60da4SBen Skeggs
3753e60da4SBen Skeggs int
gt215_msppp_new(struct nvkm_device * device,enum nvkm_subdev_type type,int inst,struct nvkm_engine ** pengine)38*07a356bbSBen Skeggs gt215_msppp_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
3953e60da4SBen Skeggs struct nvkm_engine **pengine)
4053e60da4SBen Skeggs {
41*07a356bbSBen Skeggs return nvkm_msppp_new_(>215_msppp, device, type, inst, pengine);
4253e60da4SBen Skeggs }
43