Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e06f60de authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

Extend rss_hwm_reset to reset dmabuf RSS HWM



Perform dmabuf RSS high watermark reset operation when resetting other
RSS high watermarks. Since dmabuf RSS high watermark API might not exist
in all kernel versions, implement a detection mechanism for this API
support and skip reading dmabuf_rss_hwm if the kernel does not support it.

Bug: 424648392
Test: setprop sys.rss_hwm_reset.on 1
Flag: com.android.rss_hwm_reset.enable_reset_dmabuf_rss_hwm
Change-Id: I8ffb684fe6e51fde8709dc56b2328e2c7d2066b9
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
parent 1148f8d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment