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)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 9 Mar 2017 17:52:49 +0000 (17:52 +0000)
commit9e528a51375e18d52d47e0fd46f1ba0dd0c41457
tree347395419dfed10235268e8fae965b08dd976a12
parent371b19cf9322eb7bfe37815aee836fb767168622
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>
drivers/base/dma-contiguous.c
drivers/gpu/drm/vc4/vc4_v3d.c
mm/cma.c