diff options
author | Robin Murphy <robin.murphy@arm.com> | 2020-09-03 21:59:14 +0100 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2020-11-22 08:12:50 +0800 |
commit | 31855cff03222521f7feb63b6061b526856bcb31 (patch) | |
tree | 089836d9f391dc2d3ed40205e3a86567b40a6b91 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 9273cf7d3942eaaf8b6cb6e614adbd475dc6e9b2 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions