diff options
author | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-04-01 10:56:45 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-04-11 09:22:47 +0200 |
commit | 564d6fd611f9c66dba4a3ad1da7a4589f8eb699a (patch) | |
tree | 8e1546a4dd5c229f0f94ae63518c17aeec7d779b /block/blk-core.c | |
parent | 3bfaf1f7044c6a3b1e00fcad2d0529f0da449d67 (diff) |
drm/sun4i: Rely on dma interconnect for our RAM offset
Now that we can express our DMA topology, rely on those property instead of
hardcoding an offset from the dma_addr_t which wasn't really great.
We still need to add some code to deal with the old DT that would lack that
property, but we move the offset to the DRM device dma_pfn_offset to be
able to rely on just the dma_addr_t associated to the GEM object.
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/5df781318e7e05f780a11ed243dcf2b9fe8a08cb.1554108995.git-series.maxime.ripard@bootlin.com
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions