]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Set DMA max segment size
authorRobin Murphy <robin.murphy@arm.com>
Thu, 3 Sep 2020 13:59:23 +0000 (14:59 +0100)
committerSteven Price <steven.price@arm.com>
Thu, 10 Sep 2020 13:11:57 +0000 (14:11 +0100)
commita07d0cd5b4a27715adb7f3a3b47b0b3cea78689e
tree201ede3c8183f28672fa547ae5d549c484344ea7
parent86e0a460c949b0c319ddbe67427db6055244017d
drm/panfrost: Set DMA max segment size

Since all we do with scatterlists is map them in the MMU, we don't have
any hardware constraints on how they're laid out. Let the DMA layer know
so it won't warn when DMA API debugging is enabled.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/04371bc36512076b7feee07f854e56b80675d953.1599141563.git.robin.murphy@arm.com
drivers/gpu/drm/panfrost/panfrost_gpu.c