drm/mediatek: Drop local dma_parms
authorRobin Murphy <robin.murphy@arm.com>
Thu, 3 Sep 2020 20:59:14 +0000 (21:59 +0100)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Sun, 22 Nov 2020 00:12:50 +0000 (08:12 +0800)
commit31855cff03222521f7feb63b6061b526856bcb31
tree089836d9f391dc2d3ed40205e3a86567b40a6b91
parent9273cf7d3942eaaf8b6cb6e614adbd475dc6e9b2
drm/mediatek: Drop local dma_parms

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 <robin.murphy@arm.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_drm_drv.c
drivers/gpu/drm/mediatek/mtk_drm_drv.h