diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-07-11 01:57:54 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-12-21 04:01:27 -0500 |
commit | 06784090ecb3f925616fc797164a74b03d5c0968 (patch) | |
tree | f77b4896046fef0a503f690103e943e0c54ffd12 /drivers/gpu/drm/nouveau/nvc0_grgpc.fuc | |
parent | be7f2615d7d14221a106e6c4ec3a64558e6190ed (diff) |
drm/nvc0/gr: add initial support for nvd9, not quite there yet..
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_grgpc.fuc')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvc0_grgpc.fuc | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_grgpc.fuc b/drivers/gpu/drm/nouveau/nvc0_grgpc.fuc index a9e93c80ef03..15272be33b66 100644 --- a/drivers/gpu/drm/nouveau/nvc0_grgpc.fuc +++ b/drivers/gpu/drm/nouveau/nvc0_grgpc.fuc | |||
@@ -82,6 +82,11 @@ chipsets: | |||
82 | .b16 #nvc0_gpc_mmio_tail | 82 | .b16 #nvc0_gpc_mmio_tail |
83 | .b16 #nvc0_tpc_mmio_head | 83 | .b16 #nvc0_tpc_mmio_head |
84 | .b16 #nvcf_tpc_mmio_tail | 84 | .b16 #nvcf_tpc_mmio_tail |
85 | .b8 0xd9 0 0 0 | ||
86 | .b16 #nvd9_gpc_mmio_head | ||
87 | .b16 #nvd9_gpc_mmio_tail | ||
88 | .b16 #nvd9_tpc_mmio_head | ||
89 | .b16 #nvd9_tpc_mmio_tail | ||
85 | .b8 0 0 0 0 | 90 | .b8 0 0 0 0 |
86 | 91 | ||
87 | // GPC mmio lists | 92 | // GPC mmio lists |
@@ -114,6 +119,35 @@ nvc0_gpc_mmio_tail: | |||
114 | mmctx_data(0x000c6c, 1); | 119 | mmctx_data(0x000c6c, 1); |
115 | nvc1_gpc_mmio_tail: | 120 | nvc1_gpc_mmio_tail: |
116 | 121 | ||
122 | nvd9_gpc_mmio_head: | ||
123 | mmctx_data(0x000380, 1) | ||
124 | mmctx_data(0x000400, 2) | ||
125 | mmctx_data(0x00040c, 3) | ||
126 | mmctx_data(0x000450, 9) | ||
127 | mmctx_data(0x000600, 1) | ||
128 | mmctx_data(0x000684, 1) | ||
129 | mmctx_data(0x000700, 5) | ||
130 | mmctx_data(0x000800, 1) | ||
131 | mmctx_data(0x000808, 3) | ||
132 | mmctx_data(0x000828, 1) | ||
133 | mmctx_data(0x000830, 1) | ||
134 | mmctx_data(0x0008d8, 1) | ||
135 | mmctx_data(0x0008e0, 1) | ||
136 | mmctx_data(0x0008e8, 6) | ||
137 | mmctx_data(0x00091c, 1) | ||
138 | mmctx_data(0x000924, 3) | ||
139 | mmctx_data(0x000b00, 1) | ||
140 | mmctx_data(0x000b08, 6) | ||
141 | mmctx_data(0x000bb8, 1) | ||
142 | mmctx_data(0x000c08, 1) | ||
143 | mmctx_data(0x000c10, 8) | ||
144 | mmctx_data(0x000c6c, 1) | ||
145 | mmctx_data(0x000c80, 1) | ||
146 | mmctx_data(0x000c8c, 1) | ||
147 | mmctx_data(0x001000, 3) | ||
148 | mmctx_data(0x001014, 1) | ||
149 | nvd9_gpc_mmio_tail: | ||
150 | |||
117 | // TPC mmio lists | 151 | // TPC mmio lists |
118 | nvc0_tpc_mmio_head: | 152 | nvc0_tpc_mmio_head: |
119 | mmctx_data(0x000018, 1) | 153 | mmctx_data(0x000018, 1) |
@@ -146,6 +180,31 @@ nvc3_tpc_mmio_tail: | |||
146 | mmctx_data(0x000544, 1) | 180 | mmctx_data(0x000544, 1) |
147 | nvc1_tpc_mmio_tail: | 181 | nvc1_tpc_mmio_tail: |
148 | 182 | ||
183 | nvd9_tpc_mmio_head: | ||
184 | mmctx_data(0x000018, 1) | ||
185 | mmctx_data(0x00003c, 1) | ||
186 | mmctx_data(0x000048, 1) | ||
187 | mmctx_data(0x000064, 1) | ||
188 | mmctx_data(0x000088, 1) | ||
189 | mmctx_data(0x000200, 6) | ||
190 | mmctx_data(0x00021c, 2) | ||
191 | mmctx_data(0x0002c4, 1) | ||
192 | mmctx_data(0x000300, 6) | ||
193 | mmctx_data(0x0003d0, 1) | ||
194 | mmctx_data(0x0003e0, 2) | ||
195 | mmctx_data(0x000400, 3) | ||
196 | mmctx_data(0x000420, 3) | ||
197 | mmctx_data(0x0004b0, 1) | ||
198 | mmctx_data(0x0004e8, 1) | ||
199 | mmctx_data(0x0004f4, 1) | ||
200 | mmctx_data(0x000520, 2) | ||
201 | mmctx_data(0x000544, 1) | ||
202 | mmctx_data(0x000604, 4) | ||
203 | mmctx_data(0x000644, 20) | ||
204 | mmctx_data(0x000698, 1) | ||
205 | mmctx_data(0x0006e0, 1) | ||
206 | mmctx_data(0x000750, 3) | ||
207 | nvd9_tpc_mmio_tail: | ||
149 | 208 | ||
150 | .section #nvc0_grgpc_code | 209 | .section #nvc0_grgpc_code |
151 | bra #init | 210 | bra #init |