![]() |
|
|||
0001 /* 0002 * Copyright 2013 Red Hat Inc. 0003 * 0004 * Permission is hereby granted, free of charge, to any person obtaining a 0005 * copy of this software and associated documentation files (the "Software"), 0006 * to deal in the Software without restriction, including without limitation 0007 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 0008 * and/or sell copies of the Software, and to permit persons to whom the 0009 * Software is furnished to do so, subject to the following conditions: 0010 * 0011 * The above copyright notice and this permission notice shall be included in 0012 * all copies or substantial portions of the Software. 0013 * 0014 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0015 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0016 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 0017 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 0018 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 0019 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 0020 * OTHER DEALINGS IN THE SOFTWARE. 0021 * 0022 * Authors: Ben Skeggs 0023 */ 0024 #include "priv.h" 0025 #define gk208_pmu_code gm107_pmu_code 0026 #define gk208_pmu_data gm107_pmu_data 0027 #include "fuc/gk208.fuc5.h" 0028 0029 static const struct nvkm_pmu_func 0030 gm107_pmu = { 0031 .flcn = >215_pmu_flcn, 0032 .code.data = gm107_pmu_code, 0033 .code.size = sizeof(gm107_pmu_code), 0034 .data.data = gm107_pmu_data, 0035 .data.size = sizeof(gm107_pmu_data), 0036 .enabled = gf100_pmu_enabled, 0037 .reset = gf100_pmu_reset, 0038 .init = gt215_pmu_init, 0039 .fini = gt215_pmu_fini, 0040 .intr = gt215_pmu_intr, 0041 .send = gt215_pmu_send, 0042 .recv = gt215_pmu_recv, 0043 }; 0044 0045 static const struct nvkm_pmu_fwif 0046 gm107_pmu_fwif[] = { 0047 { -1, gf100_pmu_nofw, &gm107_pmu }, 0048 {} 0049 }; 0050 0051 int 0052 gm107_pmu_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, 0053 struct nvkm_pmu **ppmu) 0054 { 0055 return nvkm_pmu_new_(gm107_pmu_fwif, device, type, inst, ppmu); 0056 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |