Re: [PATCH] drm/panfrost: Check for error num after setting mask

2022-01-12 Thread Steven Price
On 06/01/2022 03:03, Jiasheng Jiang wrote: > Because of the possible failure of the dma_supported(), the > dma_set_mask_and_coherent() may return error num. > Therefore, it should be better to check it and return the error if > fails. > > Fixes: d9b631f0a0c4 ("drm/panfrost: Set DMA masks earlier")

[PATCH] drm/panfrost: Check for error num after setting mask

2022-01-05 Thread Jiasheng Jiang
Because of the possible failure of the dma_supported(), the dma_set_mask_and_coherent() may return error num. Therefore, it should be better to check it and return the error if fails. Fixes: d9b631f0a0c4 ("drm/panfrost: Set DMA masks earlier") Signed-off-by: Jiasheng Jiang --- drivers/gpu/drm/pa