[RFC 01/24] HACK: drm/msm: Disable shrinker

Rob Clark robdclark at gmail.com
Sat Dec 7 16:15:01 UTC 2024


From: Rob Clark <robdclark at chromium.org>

The WIP VM_BIND patches don't yet support shrinker..

Not-signed-off-by: Rob Clark <robdclark at chromium.org>
---
 drivers/gpu/drm/msm/msm_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index 2aefb8becda0..6bc6f67825ce 100644
--- a/drivers/gpu/drm/msm/msm_drv.c
+++ b/drivers/gpu/drm/msm/msm_drv.c
@@ -267,7 +267,7 @@ static int msm_drm_init(struct device *dev, const struct drm_driver *drv)
 	if (ret)
 		goto err_deinit_vram;
 
-	ret = msm_gem_shrinker_init(ddev);
+//	ret = msm_gem_shrinker_init(ddev);
 	if (ret)
 		goto err_msm_uninit;
 
-- 
2.47.1



More information about the Freedreno mailing list