diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-09-01 01:24:35 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-09-24 02:23:22 -0400 |
commit | e05c5a317efb03854950a3fcc5c9501bfefc7d68 (patch) | |
tree | 188a3d497848cd383e69734a17e4d76f7939056f /drivers/gpu/drm/nouveau/nv50_instmem.c | |
parent | fbd2895e45aebdb3d3ea73a3a796cf3bb9c912da (diff) |
drm/nouveau: tidy ram{ht,fc,ro} a bit
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_instmem.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_instmem.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_instmem.c b/drivers/gpu/drm/nouveau/nv50_instmem.c index d932594449c1..2e0aaf971b2f 100644 --- a/drivers/gpu/drm/nouveau/nv50_instmem.c +++ b/drivers/gpu/drm/nouveau/nv50_instmem.c | |||
@@ -230,10 +230,6 @@ nv50_instmem_init(struct drm_device *dev) | |||
230 | for (i = 0; i < 8; i++) | 230 | for (i = 0; i < 8; i++) |
231 | nv_wr32(dev, 0x1900 + (i*4), 0); | 231 | nv_wr32(dev, 0x1900 + (i*4), 0); |
232 | 232 | ||
233 | /*XXX: incorrect, but needed to make hash func "work" */ | ||
234 | dev_priv->ramht_offset = 0x10000; | ||
235 | dev_priv->ramht_bits = 9; | ||
236 | dev_priv->ramht_size = (1 << dev_priv->ramht_bits) * 8; | ||
237 | return 0; | 233 | return 0; |
238 | } | 234 | } |
239 | 235 | ||