I've been using an OLED screen on linux on and off since they first came out in 2016 on the Thinkpad X1 Yoga. I usually went for the xrandrxrandr + acpiacpi solution provided in this thread.
Truth be told, OLED on linux was always a compromise, either in smooth brightness control or reliability or night light features or a mix of them or even all of them (but not any more).
Basic support for OLED is already implemented, but there was no software available fully take advantage of it. OLED pixels behave differently, they don't have a backlight so the amount of light they emit is based on the color they emit, and so, "color correction" with xrandr
xrandris a proper way to handle brightness control on OLED displays. Sure, having some kernel modules to do that automatically is helpful, and getting it upstream is good for a future where OLED is more widespread, but the same results can be achieved in user space.I love this question, because I can answer it like this: Here's a full-featured implementation, written in simple bash
bash, with extensive documentation in README.mdREADME.md.