Re: [PATCH v3 04/12] drm/ttm: Set dma addr to null after freee

2020-11-23 Thread Christian König
Am 23.11.20 um 06:15 schrieb Andrey Grodzovsky: On 11/21/20 9:13 AM, Christian König wrote: Am 21.11.20 um 06:21 schrieb Andrey Grodzovsky: Fixes oops. That file doesn't even exist any more. What oops should this fix? Which file ? ttm_page_alloc.c I've rewritten the whole page pool fro

Re: [PATCH v3 04/12] drm/ttm: Set dma addr to null after freee

2020-11-22 Thread Andrey Grodzovsky
On 11/21/20 9:13 AM, Christian König wrote: Am 21.11.20 um 06:21 schrieb Andrey Grodzovsky: Fixes oops. That file doesn't even exist any more. What oops should this fix? Which file ? We set dma_address to NULL in every other place after unmap. This is so that if dma address was already unm

Re: [PATCH v3 04/12] drm/ttm: Set dma addr to null after freee

2020-11-21 Thread Christian König
Am 21.11.20 um 06:21 schrieb Andrey Grodzovsky: Fixes oops. That file doesn't even exist any more. What oops should this fix? Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc

[PATCH v3 04/12] drm/ttm: Set dma addr to null after freee

2020-11-20 Thread Andrey Grodzovsky
Fixes oops. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index b40a467..b0df328 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc.c +++ b/