Re: constrain drm alloc_pages() to dma range

2018-01-12 Thread Mark Kettenis
> Date: Fri, 12 Jan 2018 14:53:20 +1100 > From: Jonathan Gray > > When trying to use alloc_page from ttm with radeon on an amd64 > machine with 8GB physmem the system would panic part way through > taking over the console along the lines of > > 'panic: Non dma-reachable buffer

Re: constrain drm alloc_pages() to dma range

2018-01-11 Thread David Gwynne
> On 12 Jan 2018, at 13:53, Jonathan Gray wrote: > > When trying to use alloc_page from ttm with radeon on an amd64 > machine with 8GB physmem the system would panic part way through > taking over the console along the lines of > > 'panic: Non dma-reachable buffer at paddr

constrain drm alloc_pages() to dma range

2018-01-11 Thread Jonathan Gray
When trying to use alloc_page from ttm with radeon on an amd64 machine with 8GB physmem the system would panic part way through taking over the console along the lines of 'panic: Non dma-reachable buffer at paddr 0x1ef221000(raw)' This adds the dma constraints ttm_uvm_alloc_page() has. Index: