+28
−0
+9
−0
drivers/soc/qcom/mem-offline.c
0 → 100644
+330
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add support for DDR Self-Refresh power management through the dynamic
memory offline framework. This driver interfaces between the memory
hotplug subsystem and AOP which hot adds or removes memory blocks and
controls the start/stop of self-refresh of these DDR regions. This
helps reduce power consumption during idle mode of the system.
The driver listens to memory hotplug notifications and requests AOP
to start DDR self-refresh after the memory block is hot-added and
stops refresh after memory block is hot-removed.
The driver also adds /sys/kernel/mem-offline directory node to give
stats about each of the memory block.
Change-Id: I33292130236cefb79794740d6f2bdc187b7cbca8
Signed-off-by:
Sudarshan Rajagopalan <sudaraja@codeaurora.org>