187c33f4eSBen Skeggs /*
287c33f4eSBen Skeggs * Copyright 2012 Red Hat Inc.
387c33f4eSBen Skeggs *
487c33f4eSBen Skeggs * Permission is hereby granted, free of charge, to any person obtaining a
587c33f4eSBen Skeggs * copy of this software and associated documentation files (the "Software"),
687c33f4eSBen Skeggs * to deal in the Software without restriction, including without limitation
787c33f4eSBen Skeggs * the rights to use, copy, modify, merge, publish, distribute, sublicense,
887c33f4eSBen Skeggs * and/or sell copies of the Software, and to permit persons to whom the
987c33f4eSBen Skeggs * Software is furnished to do so, subject to the following conditions:
1087c33f4eSBen Skeggs *
1187c33f4eSBen Skeggs * The above copyright notice and this permission notice shall be included in
1287c33f4eSBen Skeggs * all copies or substantial portions of the Software.
1387c33f4eSBen Skeggs *
1487c33f4eSBen Skeggs * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1587c33f4eSBen Skeggs * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1687c33f4eSBen Skeggs * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1787c33f4eSBen Skeggs * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
1887c33f4eSBen Skeggs * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1987c33f4eSBen Skeggs * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2087c33f4eSBen Skeggs * OTHER DEALINGS IN THE SOFTWARE.
2187c33f4eSBen Skeggs *
2287c33f4eSBen Skeggs * Authors: Ben Skeggs
2387c33f4eSBen Skeggs */
2453e60da4SBen Skeggs #include "priv.h"
2587c33f4eSBen Skeggs
269d498e0fSBen Skeggs #include <nvif/class.h>
2787c33f4eSBen Skeggs
28a83d8872SBen Skeggs static const struct nvkm_falcon_func
2953e60da4SBen Skeggs gk104_msvld = {
3053e60da4SBen Skeggs .init = gf100_msvld_init,
319d498e0fSBen Skeggs .sclass = {
329d498e0fSBen Skeggs { -1, -1, GK104_MSVLD },
339d498e0fSBen Skeggs {}
349d498e0fSBen Skeggs }
35a83d8872SBen Skeggs };
36a83d8872SBen Skeggs
3753e60da4SBen Skeggs int
gk104_msvld_new(struct nvkm_device * device,enum nvkm_subdev_type type,int inst,struct nvkm_engine ** pengine)38*b15147bdSBen Skeggs gk104_msvld_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
3953e60da4SBen Skeggs struct nvkm_engine **pengine)
4087c33f4eSBen Skeggs {
41*b15147bdSBen Skeggs return nvkm_msvld_new_(&gk104_msvld, device, type, inst, pengine);
4287c33f4eSBen Skeggs }
43