[PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-12 Thread Christian König
On 12.09.2012 15:54, Jerome Glisse wrote: > On Wed, Sep 12, 2012 at 8:08 AM, Christian K?nig > wrote: >> On 11.09.2012 18:11, Jerome Glisse wrote: >>> On Tue, Sep 11, 2012 at 10:10 AM, Christian K?nig >>> wrote: Roughly based on how nouveau is handling it. Instead of adding the bo_va wh

[PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-12 Thread Christian König
On 12.09.2012 15:54, Jerome Glisse wrote: > On Wed, Sep 12, 2012 at 8:08 AM, Christian K?nig > wrote: >> On 11.09.2012 18:11, Jerome Glisse wrote: >>> On Tue, Sep 11, 2012 at 10:10 AM, Christian K?nig >>> wrote: Roughly based on how nouveau is handling it. Instead of adding the bo_va wh

[PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-12 Thread Christian König
On 11.09.2012 18:11, Jerome Glisse wrote: > On Tue, Sep 11, 2012 at 10:10 AM, Christian K?nig > wrote: >> Roughly based on how nouveau is handling it. Instead of >> adding the bo_va when the address is set add the bo_va >> when the handle is opened, but set the address to zero >> until userspace t

[PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-12 Thread Jerome Glisse
On Wed, Sep 12, 2012 at 1:13 PM, Christian K?nig wrote: > On 12.09.2012 15:54, Jerome Glisse wrote: >> >> On Wed, Sep 12, 2012 at 8:08 AM, Christian K?nig >> wrote: >>> >>> On 11.09.2012 18:11, Jerome Glisse wrote: On Tue, Sep 11, 2012 at 10:10 AM, Christian K?nig wrote: > >>>

Re: [PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-12 Thread Jerome Glisse
On Wed, Sep 12, 2012 at 1:13 PM, Christian König wrote: > On 12.09.2012 15:54, Jerome Glisse wrote: >> >> On Wed, Sep 12, 2012 at 8:08 AM, Christian König >> wrote: >>> >>> On 11.09.2012 18:11, Jerome Glisse wrote: On Tue, Sep 11, 2012 at 10:10 AM, Christian König wrote: > >>>

Re: [PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-12 Thread Christian König
On 12.09.2012 15:54, Jerome Glisse wrote: On Wed, Sep 12, 2012 at 8:08 AM, Christian König wrote: On 11.09.2012 18:11, Jerome Glisse wrote: On Tue, Sep 11, 2012 at 10:10 AM, Christian König wrote: Roughly based on how nouveau is handling it. Instead of adding the bo_va when the address is se

Re: [PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-12 Thread Christian König
On 12.09.2012 15:54, Jerome Glisse wrote: On Wed, Sep 12, 2012 at 8:08 AM, Christian König wrote: On 11.09.2012 18:11, Jerome Glisse wrote: On Tue, Sep 11, 2012 at 10:10 AM, Christian König wrote: Roughly based on how nouveau is handling it. Instead of adding the bo_va when the address is se

[PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-12 Thread Jerome Glisse
On Wed, Sep 12, 2012 at 8:08 AM, Christian K?nig wrote: > On 11.09.2012 18:11, Jerome Glisse wrote: >> >> On Tue, Sep 11, 2012 at 10:10 AM, Christian K?nig >> wrote: >>> >>> Roughly based on how nouveau is handling it. Instead of >>> adding the bo_va when the address is set add the bo_va >>> when

Re: [PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-12 Thread Jerome Glisse
On Wed, Sep 12, 2012 at 8:08 AM, Christian König wrote: > On 11.09.2012 18:11, Jerome Glisse wrote: >> >> On Tue, Sep 11, 2012 at 10:10 AM, Christian König >> wrote: >>> >>> Roughly based on how nouveau is handling it. Instead of >>> adding the bo_va when the address is set add the bo_va >>> when

Re: [PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-12 Thread Christian König
On 11.09.2012 18:11, Jerome Glisse wrote: On Tue, Sep 11, 2012 at 10:10 AM, Christian König wrote: Roughly based on how nouveau is handling it. Instead of adding the bo_va when the address is set add the bo_va when the handle is opened, but set the address to zero until userspace tells us where

[PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-11 Thread Christian König
Roughly based on how nouveau is handling it. Instead of adding the bo_va when the address is set add the bo_va when the handle is opened, but set the address to zero until userspace tells us where to place it. This fixes another bunch of problems with glamor. Signed-off-by: Christian K?nig ---

[PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-11 Thread Jerome Glisse
On Tue, Sep 11, 2012 at 10:10 AM, Christian K?nig wrote: > Roughly based on how nouveau is handling it. Instead of > adding the bo_va when the address is set add the bo_va > when the handle is opened, but set the address to zero > until userspace tells us where to place it. > > This fixes another

Re: [PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-11 Thread Jerome Glisse
On Tue, Sep 11, 2012 at 10:10 AM, Christian König wrote: > Roughly based on how nouveau is handling it. Instead of > adding the bo_va when the address is set add the bo_va > when the handle is opened, but set the address to zero > until userspace tells us where to place it. > > This fixes another

[PATCH 8/8] drm/radeon: rework the VM code a bit more

2012-09-11 Thread Christian König
Roughly based on how nouveau is handling it. Instead of adding the bo_va when the address is set add the bo_va when the handle is opened, but set the address to zero until userspace tells us where to place it. This fixes another bunch of problems with glamor. Signed-off-by: Christian König ---