[RFC 07/16] drm/nouveau/bar/nvc0: support chips without BAR3

2014-02-04 Thread Alexandre Courbot
On 02/04/2014 12:54 PM, Ben Skeggs wrote: > On Sat, Feb 1, 2014 at 1:16 PM, Alexandre Courbot > wrote: >> Adapt the NVC0 BAR driver to make it able to support chips that do not >> expose a BAR3. When this happens, BAR1 is then used for USERD mapping >> and the BAR alloc() functions is disabled,

[RFC 07/16] drm/nouveau/bar/nvc0: support chips without BAR3

2014-02-04 Thread Ben Skeggs
On Sat, Feb 1, 2014 at 1:16 PM, Alexandre Courbot wrote: > Adapt the NVC0 BAR driver to make it able to support chips that do not > expose a BAR3. When this happens, BAR1 is then used for USERD mapping > and the BAR alloc() functions is disabled, making GPU objects unable > to rely on BAR for

[RFC 07/16] drm/nouveau/bar/nvc0: support chips without BAR3

2014-02-01 Thread Alexandre Courbot
Adapt the NVC0 BAR driver to make it able to support chips that do not expose a BAR3. When this happens, BAR1 is then used for USERD mapping and the BAR alloc() functions is disabled, making GPU objects unable to rely on BAR for data access and falling back to PRAMIN. Signed-off-by: Alexandre