gpu: host1x: Set up device DMA parameters
authorThierry Reding <treding@nvidia.com>
Mon, 16 Sep 2024 13:33:20 +0000 (15:33 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 25 Sep 2024 19:21:23 +0000 (21:21 +0200)
commitb4ad4ef374d66cc8df3188bb1ddb65bce5fc9e50
tree6e026682e98ea304b0daa44f13dd1408bc34ef5c
parentf70000ef23527f6d928d1175c66c5fafa968814b
gpu: host1x: Set up device DMA parameters

In order to store device DMA parameters, the DMA framework depends on
the device's dma_parms field to point at a valid memory location. Add
backing storage for this in struct host1x_memory_context and point to
it.

Reported-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240916133320.368620-1-thierry.reding@gmail.com
drivers/gpu/host1x/context.c
include/linux/host1x.h