summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarmen Jackson2018-03-08 14:58:13 -0600
committerCarmen Jackson2018-03-08 14:58:13 -0600
commit36e146d6fc8807c3aff135c66511226d71a0b2fb (patch)
treece4efd80261a961340a178ee1842d407ea77521b /graphics
parent2076105d33750fe4d90316006118277883bca77f (diff)
downloadplatform-hardware-interfaces-36e146d6fc8807c3aff135c66511226d71a0b2fb.tar.gz
platform-hardware-interfaces-36e146d6fc8807c3aff135c66511226d71a0b2fb.tar.xz
platform-hardware-interfaces-36e146d6fc8807c3aff135c66511226d71a0b2fb.zip
Add hwcomposer to the system-background cpuset.
Little cores should be fast enough to handle hwcomposer work, so avoiding using big cores for this is a potential opportunity to save battery. Bug: 73543056 Test: Verified using dumpsys gfxinfo that TouchLatency doesn't drop frames. Test: Took 10s systraces of TouchLatency and a Youtube VR video and saw no frames dropped in SurfaceFlinger. Change-Id: If96e13a2bacc9541f4d69a5736254817f20cacdd
Diffstat (limited to 'graphics')
-rw-r--r--graphics/composer/2.1/default/android.hardware.graphics.composer@2.1-service.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/composer/2.1/default/android.hardware.graphics.composer@2.1-service.rc b/graphics/composer/2.1/default/android.hardware.graphics.composer@2.1-service.rc
index 3b6710b4..5a5b51e8 100644
--- a/graphics/composer/2.1/default/android.hardware.graphics.composer@2.1-service.rc
+++ b/graphics/composer/2.1/default/android.hardware.graphics.composer@2.1-service.rc
@@ -4,3 +4,4 @@ service vendor.hwcomposer-2-1 /vendor/bin/hw/android.hardware.graphics.composer@
4 group graphics drmrpc 4 group graphics drmrpc
5 capabilities SYS_NICE 5 capabilities SYS_NICE
6 onrestart restart surfaceflinger 6 onrestart restart surfaceflinger
7 writepid /dev/cpuset/system-background/tasks