Re: [PATCH] drm/amdgpu: refuse to reserve io mem for split VRAM buffers

2017-02-21 Thread Nicolai Hähnle
On 17.02.2017 11:08, Christian König wrote: Am 17.02.2017 um 00:21 schrieb Nicolai Hähnle: We may still have other bugs with split BOs, though. Yeah, agree as well. I was also considering disabling that feature by default for the moment if it helps with your corruption bug. The corruption st

Re: [PATCH] drm/amdgpu: refuse to reserve io mem for split VRAM buffers

2017-02-20 Thread Nicolai Hähnle
On 20.02.2017 18:29, Christian König wrote: Sorry, patch is Reviewed-by: Christian König . Thanks! Christian. Am 20.02.2017 um 18:23 schrieb Nicolai Hähnle: Ping? People seem to agree, but I haven't seen an explicit R-b... On 16.02.2017 23:55, Nicolai Hähnle wrote: From: Nicolai Hähnle

Re: [PATCH] drm/amdgpu: refuse to reserve io mem for split VRAM buffers

2017-02-20 Thread Christian König
Sorry, patch is Reviewed-by: Christian König . Christian. Am 20.02.2017 um 18:23 schrieb Nicolai Hähnle: Ping? People seem to agree, but I haven't seen an explicit R-b... On 16.02.2017 23:55, Nicolai Hähnle wrote: From: Nicolai Hähnle When the fast blit path fails while attempting to move a

Re: [PATCH] drm/amdgpu: refuse to reserve io mem for split VRAM buffers

2017-02-20 Thread Nicolai Hähnle
Ping? People seem to agree, but I haven't seen an explicit R-b... On 16.02.2017 23:55, Nicolai Hähnle wrote: From: Nicolai Hähnle When the fast blit path fails while attempting to move a buffer from RAM to VRAM, we fall back to a CPU-based memcpy that cannot handle split VRAM buffers. Instead

Re: [PATCH] drm/amdgpu: refuse to reserve io mem for split VRAM buffers

2017-02-17 Thread Nicolai Hähnle
On 17.02.2017 11:08, Christian König wrote: Am 17.02.2017 um 00:21 schrieb Nicolai Hähnle: On 17.02.2017 00:02, Alex Deucher wrote: On Thu, Feb 16, 2017 at 5:55 PM, Nicolai Hähnle wrote: From: Nicolai Hähnle When the fast blit path fails while attempting to move a buffer from RAM to VRAM, w

Re: [PATCH] drm/amdgpu: refuse to reserve io mem for split VRAM buffers

2017-02-17 Thread Christian König
Am 17.02.2017 um 00:21 schrieb Nicolai Hähnle: On 17.02.2017 00:02, Alex Deucher wrote: On Thu, Feb 16, 2017 at 5:55 PM, Nicolai Hähnle wrote: From: Nicolai Hähnle When the fast blit path fails while attempting to move a buffer from RAM to VRAM, we fall back to a CPU-based memcpy that canno

Re: [PATCH] drm/amdgpu: refuse to reserve io mem for split VRAM buffers

2017-02-16 Thread Nicolai Hähnle
On 17.02.2017 00:02, Alex Deucher wrote: On Thu, Feb 16, 2017 at 5:55 PM, Nicolai Hähnle wrote: From: Nicolai Hähnle When the fast blit path fails while attempting to move a buffer from RAM to VRAM, we fall back to a CPU-based memcpy that cannot handle split VRAM buffers. Instead of crashing,

Re: [PATCH] drm/amdgpu: refuse to reserve io mem for split VRAM buffers

2017-02-16 Thread Alex Deucher
On Thu, Feb 16, 2017 at 5:55 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > When the fast blit path fails while attempting to move a buffer from RAM > to VRAM, we fall back to a CPU-based memcpy that cannot handle split VRAM > buffers. Instead of crashing, simply fail the buffer move. > > I

[PATCH] drm/amdgpu: refuse to reserve io mem for split VRAM buffers

2017-02-16 Thread Nicolai Hähnle
From: Nicolai Hähnle When the fast blit path fails while attempting to move a buffer from RAM to VRAM, we fall back to a CPU-based memcpy that cannot handle split VRAM buffers. Instead of crashing, simply fail the buffer move. Ideally, we would teach TTM about split buffers so that the fallback