]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary.
authorEric Anholt <eric@anholt.net>
Mon, 12 Oct 2015 15:58:08 +0000 (08:58 -0700)
committerJuerg Haefliger <juerg.haefliger@canonical.com>
Wed, 13 Sep 2017 08:03:41 +0000 (10:03 +0200)
commitc008bf9bf6164ea4d40de48442ff83129d2a8cc6
treeebbb4e36a58e4db975bd94fb58c9e5c15eef38d9
parent2092efc41b501c88d299c5800aba03bf4d370154
drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary.

I've seen lots of users cranking CMA up higher, so throw an error if
they do.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/base/dma-contiguous.c
drivers/gpu/drm/vc4/vc4_v3d.c
mm/cma.c