Re: [PATCH 2/3] drm/cma-helper: Use sgt_dma_contiguous() helper

2019-12-03 Thread Daniel Vetter
On Tue, Dec 03, 2019 at 05:32:02PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Functionality to count the number of contiguous DMA chunks in an SG > table has been added to the scatterlist library. Use this functionality > to replace an open-coded version in the GEM/CMA helpers. > >

[PATCH 2/3] drm/cma-helper: Use sgt_dma_contiguous() helper

2019-12-03 Thread Thierry Reding
From: Thierry Reding Functionality to count the number of contiguous DMA chunks in an SG table has been added to the scatterlist library. Use this functionality to replace an open-coded version in the GEM/CMA helpers. Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_gem_cma_helper.c | 22