Skip to contentSkip to conversation

drm/i915: select MMU_NOTIFIER

PATCH In review Daniel Vetter 2 participants 3 messages Jun 17, 2014 – Jun 18, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: select MMU_NOTIFIER

Without this the interactions with the core mm don't work to well and heavy userptr tests OOM _really_ premature. With this my 2G memory atom is much happier when running gem_userptr_blt tests.

---
 drivers/gpu/drm/i915/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/Kconfig +1 -0
index 437e1824d0bf..7c494ebeeeb5 100644
@@ -18,6 +18,7 @@ config DRM_I915
 	select INPUT if ACPI
 	select ACPI_VIDEO if ACPI
 	select ACPI_BUTTON if ACPI
+	select MMU_NOTIFIER
 	help
 	  Choose this option if you have a system that has "Intel Graphics
 	  Media Accelerator" or "HD Graphics" integrated graphics,
Signature · 1 line
1.8.1.4
#1 lore raw
Quoted 3 lines · Daniel Vetter

Without this the interactions with the core mm don't work to well and heavy userptr tests OOM _really_ premature. With this my 2G memory atom is much happier when running gem_userptr_blt tests.

Since those tests include those that bypass mmu-notifier, how? Are you sure you are not papering over a core bug?
-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
#2 lore raw
Quoted 7 lines · Chris Wilson
Quoted 3 lines · Daniel Vetter

Without this the interactions with the core mm don't work to well and heavy userptr tests OOM _really_ premature. With this my 2G memory atom is much happier when running gem_userptr_blt tests.

Since those tests include those that bypass mmu-notifier, how? Are you sure you are not papering over a core bug?

Was a fluke, happily dying again :(
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch