[PATCH 1/7] ttm/radeon/nouveau: Check the DMA address from TTM against known value.

2011-09-13 Thread Konrad Rzeszutek Wilk
. instead of checking against the DMA_ERROR_CODE value which is per-platform specific. The zero value is a known invalid value that the TTM layer sets on the dma_address array if it is not used (ttm_tt_alloc_page_directory calls drm_calloc_large which creates a page with GFP_ZERO). We can't use

[PATCH 1/7] ttm/radeon/nouveau: Check the DMA address from TTM against known value.

2011-09-13 Thread Konrad Rzeszutek Wilk
. instead of checking against the DMA_ERROR_CODE value which is per-platform specific. The zero value is a known invalid value that the TTM layer sets on the dma_address array if it is not used (ttm_tt_alloc_page_directory calls drm_calloc_large which creates a page with GFP_ZERO). We can't use

[PATCH 1/7] ttm/radeon/nouveau: Check the DMA address from TTM against known value.

2011-08-31 Thread Pekka Paalanen
On Tue, 30 Aug 2011 22:41:46 -0400 Konrad Rzeszutek Wilk wrote: > . instead of checking against the DMA_ERROR_CODE value which is > per-platform specific. The zero value is a known invalid value > that the TTM layer sets on the dma_address array if it is not > used (ttm_tt_alloc_page_directory

[PATCH 1/7] ttm/radeon/nouveau: Check the DMA address from TTM against known value.

2011-08-31 Thread Konrad Rzeszutek Wilk
On Wed, Aug 31, 2011 at 09:33:29AM +0300, Pekka Paalanen wrote: > On Tue, 30 Aug 2011 22:41:46 -0400 > Konrad Rzeszutek Wilk wrote: > > > . instead of checking against the DMA_ERROR_CODE value which is > > per-platform specific. The zero value is a known invalid value > > that the TTM layer sets

Re: [PATCH 1/7] ttm/radeon/nouveau: Check the DMA address from TTM against known value.

2011-08-31 Thread Pekka Paalanen
On Tue, 30 Aug 2011 22:41:46 -0400 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: . instead of checking against the DMA_ERROR_CODE value which is per-platform specific. The zero value is a known invalid value that the TTM layer sets on the dma_address array if it is not used

Re: [PATCH 1/7] ttm/radeon/nouveau: Check the DMA address from TTM against known value.

2011-08-31 Thread Konrad Rzeszutek Wilk
On Wed, Aug 31, 2011 at 09:33:29AM +0300, Pekka Paalanen wrote: On Tue, 30 Aug 2011 22:41:46 -0400 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: . instead of checking against the DMA_ERROR_CODE value which is per-platform specific. The zero value is a known invalid value that the

[PATCH 1/7] ttm/radeon/nouveau: Check the DMA address from TTM against known value.

2011-08-30 Thread Konrad Rzeszutek Wilk
. instead of checking against the DMA_ERROR_CODE value which is per-platform specific. The zero value is a known invalid value that the TTM layer sets on the dma_address array if it is not used (ttm_tt_alloc_page_directory calls drm_calloc_large which creates a page with GFP_ZERO). We can't use

[PATCH 1/7] ttm/radeon/nouveau: Check the DMA address from TTM against known value.

2011-08-30 Thread Konrad Rzeszutek Wilk
. instead of checking against the DMA_ERROR_CODE value which is per-platform specific. The zero value is a known invalid value that the TTM layer sets on the dma_address array if it is not used (ttm_tt_alloc_page_directory calls drm_calloc_large which creates a page with GFP_ZERO). We can't use