Ben Skeggs
5de8037ab4
drm/nvc0: enable per-client address spaces
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-06-23 16:01:41 +10:00
Daniel Vetter
31a5b8ce8f
drm/nouveau: don't munge in drm_mm internals
...
Nouveau was checking drm_mm internals on teardown to see whether the
memory manager was initialized. Hide these internals in a small
inline helper function.
Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-23 10:18:20 +10:00
Ben Skeggs
99805566d9
drm/nvc0: create shared channel vm
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-21 17:17:21 +10:00
Ben Skeggs
8984e04615
drm/nvc0: initial vm implementation, use for bar1/bar3 management
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-21 17:17:14 +10:00
Ben Skeggs
e41115d0ad
drm/nouveau: rework gpu-specific instmem interfaces
...
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-03 15:11:48 +10:00
Ben Skeggs
9100468d1b
drm/nouveau: pass gpuobj alignment request down into backing allocator
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-03 15:06:51 +10:00
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