153e60da4SBen Skeggs /*
253e60da4SBen Skeggs * Copyright 2015 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 <bskeggs@redhat.com>
2353e60da4SBen Skeggs */
2453e60da4SBen Skeggs #include "priv.h"
2553e60da4SBen Skeggs
2653e60da4SBen Skeggs int
nvkm_mspdec_new_(const struct nvkm_falcon_func * func,struct nvkm_device * device,enum nvkm_subdev_type type,int inst,struct nvkm_engine ** pengine)27*96321606SBen Skeggs nvkm_mspdec_new_(const struct nvkm_falcon_func *func, struct nvkm_device *device,
28*96321606SBen Skeggs enum nvkm_subdev_type type, int inst, struct nvkm_engine **pengine)
2953e60da4SBen Skeggs {
30*96321606SBen Skeggs return nvkm_falcon_new_(func, device, type, inst, true, 0x085000, pengine);
3153e60da4SBen Skeggs }
32