drm/nv50-nvc0: ramht_size is meant to be in bytes, not entries
authorBen Skeggs <bskeggs@redhat.com>
Fri, 13 Aug 2010 00:22:41 +0000 (10:22 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 17 Aug 2010 01:59:24 +0000 (11:59 +1000)
commit46d4cae20038bcb2511cba0c86f0be2d11520369
tree63e4570cffcc229e9621c45283e65df85b3bab61
parent45a68a072ee3b7f8fbd84b946aac827cc61256b0
drm/nv50-nvc0: ramht_size is meant to be in bytes, not entries

Fixes an infinite loop that can happen in RAMHT lookup.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_instmem.c
drivers/gpu/drm/nouveau/nvc0_instmem.c