Marin Shalamanov ac6cc1f97e Clean ComposerClient cache on hotplug
On subsequent hotplug connected event for a display
SurfaceFlinger destroys the previous framebuffers and
recreates them. When the new buffers are created
ComposerClient still holds a handle to the old buffers and
they are not destroyed. This way the new framebuffers
may get allocated on non continuous memory causing garbled
screens for the user.

Bug: 160112047
Bug: 169255692
Test: 1. limit cma ion memory to 32 MB
      2. flash device
      3. plug hdmi out and in
      4. verify that the display image is not garbled
Change-Id: Idf7cdf7a070ffc83ecec34ac24c8a7d696f68aa6
2020-10-27 13:37:40 +01:00
2020-09-29 06:52:57 +00:00
2020-09-29 06:52:57 +00:00
2020-10-14 12:35:23 -07:00
2020-09-29 06:52:57 +00:00
2020-10-08 23:22:52 -07:00
2020-10-06 09:20:21 -07:00
2020-09-29 06:52:57 +00:00
2020-09-29 06:52:57 +00:00
2020-09-29 06:52:57 +00:00
2020-10-16 12:00:46 +08:00
2019-12-13 14:24:23 -08:00
2020-10-15 10:13:04 +08:00
2016-08-30 11:28:36 -07:00
2019-12-10 09:51:58 -08:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%