]> 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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:55 +0000 (12:07 +0200)
commit76115202bcf99b66b53b2dea5d87f195f2ae8136
tree74f19f399912c8de0fe0f89d926eb3547d131ccf
parente6a2afbc6f8b2508169768ec3fe45fb1f39573ed
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