]> 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)
commit8b28b1467d0f3db1cd7f073c153155a7b09143c6
tree5674005645d92e3308350866aac56e5236073a3b
parent68d7df48a4a5ca87071fc7a70814a96c28168e78
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