Re: [Mesa-dev] [PATCH] r600: Use DMA transfers in r600_copy_global_buffer

2014-09-09 Thread Niels Ole Salscheider
On Tuesday 09 September 2014, 11:40:49, Bruno Jimenez wrote: > On Mon, 2014-09-08 at 18:30 +0200, Niels Ole Salscheider wrote: > > On Monday 08 September 2014, 15:19:15, Bruno Jimenez wrote: > > > Hi, > > > > > > I'm not sure if this will work. Imagine this case: > > > > > > We have an item in t

Re: [Mesa-dev] [PATCH] r600: Use DMA transfers in r600_copy_global_buffer

2014-09-09 Thread Bruno Jimenez
On Mon, 2014-09-08 at 18:30 +0200, Niels Ole Salscheider wrote: > On Monday 08 September 2014, 15:19:15, Bruno Jimenez wrote: > > Hi, > > > > I'm not sure if this will work. Imagine this case: > > > > We have an item in the pool, and we want to use > > r600_resource_copy_region with it, for exam

Re: [Mesa-dev] [PATCH] r600: Use DMA transfers in r600_copy_global_buffer

2014-09-08 Thread Niels Ole Salscheider
On Monday 08 September 2014, 15:19:15, Bruno Jimenez wrote: > Hi, > > I'm not sure if this will work. Imagine this case: > > We have an item in the pool, and we want to use > r600_resource_copy_region with it, for example because we want to demote > it. This will call r600_copy_global_buffer, an

Re: [Mesa-dev] [PATCH] r600: Use DMA transfers in r600_copy_global_buffer

2014-09-08 Thread Bruno Jimenez
Hi, I'm not sure if this will work. Imagine this case: We have an item in the pool, and we want to use r600_resource_copy_region with it, for example because we want to demote it. This will call r600_copy_global_buffer, and with your patch it will call r600_compute_global_demote_or_alloc, which

[Mesa-dev] [PATCH] r600: Use DMA transfers in r600_copy_global_buffer

2014-09-07 Thread Niels Ole Salscheider
Signed-off-by: Niels Ole Salscheider --- src/gallium/drivers/r600/evergreen_compute.c | 27 --- src/gallium/drivers/r600/evergreen_compute.h | 1 + src/gallium/drivers/r600/r600_blit.c | 40 3 files changed, 41 insertions(+), 27 deletions(-)