Display doesn't switch off anymore since d0494d9b
I am using Lineage OS builds from KonstaT on my RPi 4, please see https://konstakang.com/devices/rpi4/LineageOS19/. However, I have an issue since commit d0494d9b of drm-hwcomposer, where my HDMI connected display is not switched off anymore. There you will find a change-log including release dates. With the version from March 14th, the display switches off as usual, when I screen lock Android. With all later versions, the screen is locked and goes black, however, the backlight of the screen stays on forever. As I am not able to build the images for myself, I cannot really bisect this issue, sorry. The only thing I can do is to compare commits used in the Github repo used by KonstaT: https://github.com/lineage-rpi/android_external_drm_hwcomposer/commits/lineage-19.1. There you can see, that the commits of https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer/-/commits/main/ are continuously included. So, from my understanding, as with the build from March 14th display switches off and with the build from April 7th the display backlight stays on forever, the only commit in between is d0494d9b.
Also important to mention is, that replacing the file hwcomposer.drm.so in any build after March 14th with the one from the build from March 14th switches the display off as it should.
I know, that analyzing and hopefully fixing this issue will be difficult, when I am approacing you as upstream with an issue in some third party project. I am happy to help in analyzing this as good as I can. Thank you very much for accepting and looking into this!