Commit graph

2 commits

Author SHA1 Message Date
Suren Baghdasaryan
c175fecc19 Replace writepid with task_profiles command for cgroup migration
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.

Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I17f8d781edd42051fbff9cf34b53346b1ec7a81b
2021-06-23 18:43:53 +00:00
John Stultz
d5f571990c minigbm: Android.bp: Add msm varients of gralloc.minigbm and libminigbm_cros_gralloc
In order to support msm devices, we need to enable -DDRV_MSM
as a build flag for both gralloc.minigbm and libminigbm_cros_gralloc.

This unfortunately requires new _msm post-fixed targets for both
gralloc.minigbm and libminigbm_cros_gralloc as well as for
the allocator and mapper HALs.

This feels a bit messy, but seems to be the only way to only
build with -DDRV_MSM on msm devices.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Ic43967bddd40bab4622f92faebb96e679a19891d
2021-04-27 21:11:04 +00:00