]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit170e782f7a18f07411986578bf6eb92e2bdfe531
tree5674005645d92e3308350866aac56e5236073a3b
parent71ed5bcfd45ab35e5abdfc66d15f941b2df98047
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