|
@@ -23,18 +23,110 @@
|
|
|
*/
|
|
|
#include "gf100.h"
|
|
|
|
|
|
+const struct nvkm_specsrc
|
|
|
+gf100_pmfb_sources[] = {
|
|
|
+ { 0x140028, (const struct nvkm_specmux[]) {
|
|
|
+ { 0x3fff, 0, "unk0" },
|
|
|
+ { 0x7, 16, "unk16" },
|
|
|
+ { 0x3, 24, "unk24" },
|
|
|
+ { 0x2, 29, "unk29" },
|
|
|
+ {}
|
|
|
+ }, "pmfb0_pm_unk28" },
|
|
|
+ {}
|
|
|
+};
|
|
|
+
|
|
|
+static const struct nvkm_specsrc
|
|
|
+gf100_l1_sources[] = {
|
|
|
+ { 0x5044a8, (const struct nvkm_specmux[]) {
|
|
|
+ { 0x3f, 0, "sel", true },
|
|
|
+ {}
|
|
|
+ }, "pgraph_gpc0_tpc0_l1_pm_mux" },
|
|
|
+ {}
|
|
|
+};
|
|
|
+
|
|
|
+static const struct nvkm_specsrc
|
|
|
+gf100_pbfb_sources[] = {
|
|
|
+ { 0x10f100, (const struct nvkm_specmux[]) {
|
|
|
+ { 0x1, 0, "unk0" },
|
|
|
+ { 0xf, 4, "unk4" },
|
|
|
+ { 0x3, 8, "unk8" },
|
|
|
+ {}
|
|
|
+ }, "pbfb_broadcast_pm_unk100" },
|
|
|
+ {}
|
|
|
+};
|
|
|
+
|
|
|
+static const struct nvkm_specsrc
|
|
|
+gf100_tex_sources[] = {
|
|
|
+ { 0x5042c0, (const struct nvkm_specmux[]) {
|
|
|
+ { 0xf, 0, "sel0", true },
|
|
|
+ { 0x7, 8, "sel1", true },
|
|
|
+ {}
|
|
|
+ }, "pgraph_gpc0_tpc0_tex_pm_mux_c_d" },
|
|
|
+ { 0x5042c8, (const struct nvkm_specmux[]) {
|
|
|
+ { 0x1f, 0, "sel", true },
|
|
|
+ {}
|
|
|
+ }, "pgraph_gpc0_tpc0_tex_pm_unkc8" },
|
|
|
+ {}
|
|
|
+};
|
|
|
+
|
|
|
+static const struct nvkm_specsrc
|
|
|
+gf100_unk400_sources[] = {
|
|
|
+ { 0x50440c, (const struct nvkm_specmux[]) {
|
|
|
+ { 0x3f, 0, "sel", true },
|
|
|
+ {}
|
|
|
+ }, "pgraph_gpc0_tpc0_unk400_pm_mux" },
|
|
|
+ {}
|
|
|
+};
|
|
|
+
|
|
|
static const struct nvkm_specdom
|
|
|
gf100_pm_hub[] = {
|
|
|
{}
|
|
|
};
|
|
|
|
|
|
-static const struct nvkm_specdom
|
|
|
+const struct nvkm_specdom
|
|
|
gf100_pm_gpc[] = {
|
|
|
+ { 0xe0, (const struct nvkm_specsig[]) {
|
|
|
+ { 0x00, "gpc00_l1_00", gf100_l1_sources },
|
|
|
+ { 0x01, "gpc00_l1_01", gf100_l1_sources },
|
|
|
+ { 0x02, "gpc00_l1_02", gf100_l1_sources },
|
|
|
+ { 0x03, "gpc00_l1_03", gf100_l1_sources },
|
|
|
+ { 0x05, "gpc00_l1_04", gf100_l1_sources },
|
|
|
+ { 0x06, "gpc00_l1_05", gf100_l1_sources },
|
|
|
+ { 0x0a, "gpc00_tex_00", gf100_tex_sources },
|
|
|
+ { 0x0b, "gpc00_tex_01", gf100_tex_sources },
|
|
|
+ { 0x0c, "gpc00_tex_02", gf100_tex_sources },
|
|
|
+ { 0x0d, "gpc00_tex_03", gf100_tex_sources },
|
|
|
+ { 0x0e, "gpc00_tex_04", gf100_tex_sources },
|
|
|
+ { 0x0e, "gpc00_tex_05", gf100_tex_sources },
|
|
|
+ { 0x0f, "gpc00_tex_06", gf100_tex_sources },
|
|
|
+ { 0x10, "gpc00_tex_07", gf100_tex_sources },
|
|
|
+ { 0x11, "gpc00_tex_08", gf100_tex_sources },
|
|
|
+ { 0x12, "gpc00_tex_09", gf100_tex_sources },
|
|
|
+ { 0x26, "gpc00_unk400_00", gf100_unk400_sources },
|
|
|
+ {}
|
|
|
+ }, &gf100_perfctr_func },
|
|
|
{}
|
|
|
};
|
|
|
|
|
|
-static const struct nvkm_specdom
|
|
|
+const struct nvkm_specdom
|
|
|
gf100_pm_part[] = {
|
|
|
+ { 0xe0, (const struct nvkm_specsig[]) {
|
|
|
+ { 0x0f, "part00_pbfb_00", gf100_pbfb_sources },
|
|
|
+ { 0x10, "part00_pbfb_01", gf100_pbfb_sources },
|
|
|
+ { 0x21, "part00_pmfb_00", gf100_pmfb_sources },
|
|
|
+ { 0x04, "part00_pmfb_01", gf100_pmfb_sources },
|
|
|
+ { 0x00, "part00_pmfb_02", gf100_pmfb_sources },
|
|
|
+ { 0x02, "part00_pmfb_03", gf100_pmfb_sources },
|
|
|
+ { 0x01, "part00_pmfb_04", gf100_pmfb_sources },
|
|
|
+ { 0x2e, "part00_pmfb_05", gf100_pmfb_sources },
|
|
|
+ { 0x2f, "part00_pmfb_06", gf100_pmfb_sources },
|
|
|
+ { 0x1b, "part00_pmfb_07", gf100_pmfb_sources },
|
|
|
+ { 0x1c, "part00_pmfb_08", gf100_pmfb_sources },
|
|
|
+ { 0x1d, "part00_pmfb_09", gf100_pmfb_sources },
|
|
|
+ { 0x1e, "part00_pmfb_0a", gf100_pmfb_sources },
|
|
|
+ { 0x1f, "part00_pmfb_0b", gf100_pmfb_sources },
|
|
|
+ {}
|
|
|
+ }, &gf100_perfctr_func },
|
|
|
{}
|
|
|
};
|
|
|
|