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>
Sun, 8 Oct 2017 01:00:21 +0000 (01:00 +0000)
commit8629adcffc1b5ede3bc50d80c5d26fb5d41eedf2
treeeaaaaca848434345fd6e70e2e63b4f2e2dc10321
parent94f398391a9c24d7405fc4f8ff47d85a8dbd230f
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