[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-08 Thread Michel Dänzer
On Mon, 2012-08-06 at 18:55 +0200, Christian K?nig wrote: > On 06.08.2012 18:30, Jerome Glisse wrote: > > On Mon, Aug 6, 2012 at 12:06 PM, Christian K?nig > > wrote: > >> [SNIP] > >> Additional to that patch we still need a minor fix to mesa (just move > >> freeing the VM range after closing the

[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-08 Thread Jerome Glisse
On Mon, Aug 6, 2012 at 12:55 PM, Christian K?nig wrote: > On 06.08.2012 18:30, Jerome Glisse wrote: >> >> On Mon, Aug 6, 2012 at 12:06 PM, Christian K?nig >> wrote: >>> >>> [SNIP] >>> >>> Additional to that patch we still need a minor fix to mesa (just move >>> freeing the VM range after closing

Re: [PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-08 Thread Jerome Glisse
On Mon, Aug 6, 2012 at 12:55 PM, Christian König wrote: > On 06.08.2012 18:30, Jerome Glisse wrote: >> >> On Mon, Aug 6, 2012 at 12:06 PM, Christian König >> wrote: >>> >>> [SNIP] >>> >>> Additional to that patch we still need a minor fix to mesa (just move >>> freeing the VM range after closing

Re: [PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-08 Thread Michel Dänzer
On Mon, 2012-08-06 at 18:55 +0200, Christian König wrote: > On 06.08.2012 18:30, Jerome Glisse wrote: > > On Mon, Aug 6, 2012 at 12:06 PM, Christian König > > wrote: > >> [SNIP] > >> Additional to that patch we still need a minor fix to mesa (just move > >> freeing the VM range after closing the

[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-06 Thread Christian König
On 06.08.2012 18:30, Jerome Glisse wrote: > On Mon, Aug 6, 2012 at 12:06 PM, Christian K?nig > wrote: >> [SNIP] >> Additional to that patch we still need a minor fix to mesa (just move >> freeing the VM range after closing the handle). Going to send that in the >> next minute to the mesa-dev list.

[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-06 Thread Christian König
On 04.08.2012 11:07, Christian K?nig wrote: > On 03.08.2012 23:26, j.glisse at gmail.com wrote: >> From: Jerome Glisse >> >> Virtual address need to be fenced to know when we can safely remove it. >> This patch also properly clear the pagetable. Previously it was >> serouisly broken. >> >> Kernel

[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-06 Thread Jerome Glisse
On Mon, Aug 6, 2012 at 12:06 PM, Christian K?nig wrote: > On 04.08.2012 11:07, Christian K?nig wrote: >> >> On 03.08.2012 23:26, j.glisse at gmail.com wrote: >>> >>> From: Jerome Glisse >>> >>> Virtual address need to be fenced to know when we can safely remove it. >>> This patch also properly cl

Re: [PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-06 Thread Christian König
On 06.08.2012 18:30, Jerome Glisse wrote: On Mon, Aug 6, 2012 at 12:06 PM, Christian König wrote: [SNIP] Additional to that patch we still need a minor fix to mesa (just move freeing the VM range after closing the handle). Going to send that in the next minute to the mesa-dev list. Otherwise t

Re: [PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-06 Thread Jerome Glisse
On Mon, Aug 6, 2012 at 12:06 PM, Christian König wrote: > On 04.08.2012 11:07, Christian König wrote: >> >> On 03.08.2012 23:26, j.gli...@gmail.com wrote: >>> >>> From: Jerome Glisse >>> >>> Virtual address need to be fenced to know when we can safely remove it. >>> This patch also properly clear

Re: [PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-06 Thread Christian König
On 04.08.2012 11:07, Christian König wrote: On 03.08.2012 23:26, j.gli...@gmail.com wrote: From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. Kernel 3.5/3.4 need a simila

[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-04 Thread Christian König
On 03.08.2012 23:26, j.glisse at gmail.com wrote: > From: Jerome Glisse > > Virtual address need to be fenced to know when we can safely remove it. > This patch also properly clear the pagetable. Previously it was > serouisly broken. > > Kernel 3.5/3.4 need a similar patch but adapted for differen

[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-04 Thread Alex Deucher
On Fri, Aug 3, 2012 at 5:26 PM, wrote: > From: Jerome Glisse > > Virtual address need to be fenced to know when we can safely remove it. > This patch also properly clear the pagetable. Previously it was > serouisly broken. > > Kernel 3.5/3.4 need a similar patch but adapted for difference in mut

Re: [PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-04 Thread Alex Deucher
On Fri, Aug 3, 2012 at 5:26 PM, wrote: > From: Jerome Glisse > > Virtual address need to be fenced to know when we can safely remove it. > This patch also properly clear the pagetable. Previously it was > serouisly broken. > > Kernel 3.5/3.4 need a similar patch but adapted for difference in mut

Re: [PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-04 Thread Christian König
On 03.08.2012 23:26, j.gli...@gmail.com wrote: From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. Kernel 3.5/3.4 need a similar patch but adapted for difference in mutex l

[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-03 Thread j.gli...@gmail.com
From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. Kernel 3.5/3.4 need a similar patch but adapted for difference in mutex locking. v2: For to update pagetable when unbindi

[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-03 Thread j . glisse
From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. Kernel 3.5/3.4 need a similar patch but adapted for difference in mutex locking. v2: For to update pagetable when unbindi