Re: [Intel-gfx] [PATCH v2] drm/i915: Allow compaction upto SWIOTLB max segment size

2016-10-13 Thread Konrad Rzeszutek Wilk
On Wed, Oct 12, 2016 at 10:51:57PM +0100, Chris Wilson wrote: > On Wed, Oct 12, 2016 at 05:19:14PM -0400, Konrad Rzeszutek Wilk wrote: > > On Mon, Oct 10, 2016 at 11:27:00PM +0100, Chris Wilson wrote: > > > commit 1625e7e549c5 ("drm/i915: make compact dma scatter lists creation > > > work with SWIO

Re: [Intel-gfx] [PATCH v2] drm/i915: Allow compaction upto SWIOTLB max segment size

2016-10-12 Thread Chris Wilson
On Wed, Oct 12, 2016 at 05:19:14PM -0400, Konrad Rzeszutek Wilk wrote: > On Mon, Oct 10, 2016 at 11:27:00PM +0100, Chris Wilson wrote: > > commit 1625e7e549c5 ("drm/i915: make compact dma scatter lists creation > > work with SWIOTLB backend") took a heavy handed approach to undo the > > scatterlist

Re: [Intel-gfx] [PATCH v2] drm/i915: Allow compaction upto SWIOTLB max segment size

2016-10-12 Thread Konrad Rzeszutek Wilk
On Mon, Oct 10, 2016 at 11:27:00PM +0100, Chris Wilson wrote: > commit 1625e7e549c5 ("drm/i915: make compact dma scatter lists creation > work with SWIOTLB backend") took a heavy handed approach to undo the > scatterlist compaction in the face of SWIOTLB. (The compaction hit a bug > whereby we trie

Re: [Intel-gfx] [PATCH v2] drm/i915: Allow compaction upto SWIOTLB max segment size

2016-10-11 Thread Tvrtko Ursulin
On 10/10/2016 23:27, Chris Wilson wrote: commit 1625e7e549c5 ("drm/i915: make compact dma scatter lists creation work with SWIOTLB backend") took a heavy handed approach to undo the scatterlist compaction in the face of SWIOTLB. (The compaction hit a bug whereby we tried to pass a segment larger