1c34d824bd
dma_alloc_coherent() can return memory in the vmalloc range. virt_to_page() cannot handle such addresses and crashes. This patch detects such cases and obtains the struct page * using vmalloc_to_page() instead. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Dave Airlie <airlied@redhat.com> |
||
---|---|---|
.. | ||
Makefile | ||
ttm_agp_backend.c | ||
ttm_bo.c | ||
ttm_bo_manager.c | ||
ttm_bo_util.c | ||
ttm_bo_vm.c | ||
ttm_execbuf_util.c | ||
ttm_lock.c | ||
ttm_memory.c | ||
ttm_module.c | ||
ttm_object.c | ||
ttm_page_alloc.c | ||
ttm_page_alloc_dma.c | ||
ttm_tt.c |