drm/msm: don't allocate pages from the MOVABLE zone
authorLucas Stach <l.stach@pengutronix.de>
Thu, 28 Feb 2019 06:23:29 +0000 (07:23 +0100)
committerRob Clark <robdclark@chromium.org>
Thu, 18 Apr 2019 17:04:09 +0000 (10:04 -0700)
commit0abdba47dc1df708c365421d481734d3f7fecb01
tree5674005645d92e3308350866aac56e5236073a3b
parent15ade5d2e7775667cf191cf2f94327a4889f8b9d
drm/msm: don't allocate pages from the MOVABLE zone

The pages backing the GEM objects are kept pinned in place as
long as they are alive, so they must not be allocated from the
MOVABLE zone. Blocking page migration for too long will cause
the VM subsystem headaches and will outright break CMA, as a
few pinned pages in CMA will lead to failure to find the
required large contiguous regions.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_gem.c