[PATCH] gpu: host1x: Set up device DMA parameters
Jon Hunter
jonathanh at nvidia.com
Thu Sep 19 06:41:55 UTC 2024
On 16/09/2024 15:58, Christoph Hellwig wrote:
> On Mon, Sep 16, 2024 at 03:33:20PM +0200, Thierry Reding wrote:
>> From: Thierry Reding <treding at nvidia.com>
>>
>> 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 at nvidia.com>
>> Signed-off-by: Thierry Reding <treding at nvidia.com>
>
> Looks good:
>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
>
> I guess this another thing caught by the WARN_ON in the dma_set*
> functions?
Yes indeed! This works for me.
Tested-by: Jon Hunter <jonathanh at nvidia.com>
Thanks
Jon
--
nvpublic
More information about the dri-devel
mailing list