Ben Skeggs
d961db75ce
drm/ttm: restructure to allow driver to plug in alternate memory manager
...
Nouveau will need this on GeForce 8 and up to account for the GPU
reordering physical VRAM for some memory types.
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Acked-by: Thomas Hellström <thellstrom@vmware.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-10-05 10:01:20 +10:00
Francisco Jerez
4b5c152a79
drm/nouveau: Remove implicit argument from nv_wait().
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-09-24 16:25:36 +10:00
Ben Skeggs
e05c5a317e
drm/nouveau: tidy ram{ht,fc,ro} a bit
...
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-09-24 16:23:22 +10:00
Ben Skeggs
43efc9ce25
drm/nouveau: simplify fake gpu objects
...
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-09-24 16:20:23 +10:00
Ben Skeggs
b515f3a2d8
drm/nvc0: fix thinko in instmem suspend/resume
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-08-17 11:59:53 +10:00
Ben Skeggs
46d4cae200
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>
2010-08-17 11:59:24 +10:00
Ben Skeggs
2dc5d2ec05
drm/nvc0: fix typo in PRAMIN flush
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-08-09 15:18:44 +10:00
Ben Skeggs
147cad0936
drm/nvc0: backup bar3 channel on suspend
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-08-06 08:35:54 +10:00
Ben Skeggs
68b83a939c
drm/nvc0: rudimentary instmem support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-08-06 08:35:31 +10:00
Ben Skeggs
4b223eefe4
drm/nvc0: starting point for GF100 support, everything stubbed
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-08-06 08:35:17 +10:00