drm/msm: Drop local dma_parms
authorRobin Murphy <robin.murphy@arm.com>
Thu, 3 Sep 2020 21:04:03 +0000 (22:04 +0100)
committerRob Clark <robdclark@chromium.org>
Sat, 12 Sep 2020 16:59:58 +0000 (09:59 -0700)
commitd5653a994a665c66f26a92b57a1d4dcb3639c9ea
tree523e3ef8faaef45e2022a3b80d0663c270e0ae70
parentfdf38426cda6b5b3232f1fa470b5fa86734d7872
drm/msm: 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: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_drv.c