projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33f960e
)
drm/tidss: Set max DMA segment size
author
Andrew Davis
<afd@ti.com>
Tue, 23 Aug 2022 00:16:34 +0000
(19:16 -0500)
committer
Tomi Valkeinen
<tomi.valkeinen@ideasonboard.com>
Fri, 16 Dec 2022 17:24:39 +0000
(19:24 +0200)
We have no segment size limitations. Set to unlimited.
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20220823001634.11461-1-afd@ti.com
drivers/gpu/drm/tidss/tidss_dispc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tidss/tidss_dispc.c
b/drivers/gpu/drm/tidss/tidss_dispc.c
index
ad93acc
..
7a08feb
100644
(file)
--- a/
drivers/gpu/drm/tidss/tidss_dispc.c
+++ b/
drivers/gpu/drm/tidss/tidss_dispc.c
@@
-2686,6
+2686,8
@@
int dispc_init(struct tidss_device *tidss)
dev_warn(dev, "cannot set DMA masks to 48-bit\n");
}
+ dma_set_max_seg_size(dev, UINT_MAX);
+
dispc = devm_kzalloc(dev, sizeof(*dispc), GFP_KERNEL);
if (!dispc)
return -ENOMEM;