]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/komeda: fixing of DMA mapping sg segment warning
authorLowry Li (Arm Technology China) <Lowry.Li@arm.com>
Thu, 11 Apr 2019 08:37:13 +0000 (09:37 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 4 Jun 2019 14:12:44 +0000 (15:12 +0100)
commita260e0b847f079b7eda85a76fc066a6537f34951
tree586984020dc2c50b53066312795b35e339e0d22b
parentba1b9f8c4658663dd66e992bef31f6f8747b6c8c
drm/komeda: fixing of DMA mapping sg segment warning

Fixing the DMA mapping sg segment warning, which shows "DMA-API: mapping
sg segment longer than device claims to support [len=921600] [max=65536]".
Fixed by setting the max segment size at Komeda driver.

This patch depends on:
- https://patchwork.freedesktop.org/series/54448/
- https://patchwork.freedesktop.org/series/54449/
- https://patchwork.freedesktop.org/series/54450/
- https://patchwork.freedesktop.org/series/58976/

Changes since v1:
- Adds member description
- Adds patch denpendency in the comment

Signed-off-by: Lowry Li (Arm Technology China) <lowry.li@arm.com>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Reviewed-by: Ayan Kumar Halder <ayan.halder@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/display/komeda/komeda_dev.c
drivers/gpu/drm/arm/display/komeda/komeda_dev.h