summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2022-11-15 19:42:12 +0300
committerRob Clark <robdclark@chromium.org>2022-11-17 21:39:12 +0300
commite8b8feb5cdae23104b32e3ccfb1dc7ebe4a6c361 (patch)
treed2b4e8f4a290c26fa9ca9a4a09c2521a65e1d028
parent2c1b7748100e2e40155722589201f24c23ae5d53 (diff)
downloadlinux-e8b8feb5cdae23104b32e3ccfb1dc7ebe4a6c361.tar.xz
drm/msm: Enable unpin/eviction by default
We've had this enabled in the CrOS kernel for a while now without seeing issues, so let's flip the switch upstream now. Signed-off-by: Rob Clark <robdclark@chromium.org> Patchwork: https://patchwork.freedesktop.org/patch/511694/ Link: https://lore.kernel.org/r/20221115164212.1619306-1-robdclark@gmail.com
-rw-r--r--drivers/gpu/drm/msm/msm_gem_shrinker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem_shrinker.c b/drivers/gpu/drm/msm/msm_gem_shrinker.c
index 1de14e67f96b..051bdbc093cf 100644
--- a/drivers/gpu/drm/msm/msm_gem_shrinker.c
+++ b/drivers/gpu/drm/msm/msm_gem_shrinker.c
@@ -15,7 +15,7 @@
/* Default disabled for now until it has some more testing on the different
* iommu combinations that can be paired with the driver:
*/
-static bool enable_eviction = false;
+static bool enable_eviction = true;
MODULE_PARM_DESC(enable_eviction, "Enable swappable GEM buffers");
module_param(enable_eviction, bool, 0600);