drm/msm: Enable unpin/eviction by default
authorRob Clark <robdclark@chromium.org>
Tue, 15 Nov 2022 16:42:12 +0000 (08:42 -0800)
committerRob Clark <robdclark@chromium.org>
Thu, 17 Nov 2022 18:39:12 +0000 (10:39 -0800)
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
drivers/gpu/drm/msm/msm_gem_shrinker.c

index 1de14e6..051bdbc 100644 (file)
@@ -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);