Re: [PATCH] drm/mediatek: Drop local dma_parms

2020-11-23 Thread Chun-Kuang Hu
Hi, Robin: Robin Murphy 於 2020年9月4日 週五 上午4:59寫道: > > Since commit 9495b7e92f71 ("driver core: platform: Initialize dma_parms > for platform devices"), struct platform_device already provides a > dma_parms structure, so we can save allocating another one. > > Also the DMA segment size is simply a

[PATCH] drm/mediatek: Drop local dma_parms

2020-09-03 Thread Robin Murphy
Since commit 9495b7e92f71 ("driver core: platform: Initialize dma_parms for platform devices"), struct platform_device already provides a dma_parms structure, so we can save allocating another one. Also the DMA segment size is simply a size, not a bitmask. Signed-off-by: Robin Murphy --- driver