On Wed, Jun 28, 2023 at 4:20 PM Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx> wrote: > But for now we might already create a step-up version of that by having > a "Samsung panel driver library" to deduplicate generic commands, which > drivers can freely call into? Yeah something like that is likely what we want. > On the other hand of the spectrum we currently have 4 downstream panels > for Sony devices that all declare to be using the sofef01 controller, > but with vastly different command sets. And even if we "accidentally" > send the wrong set for the wrong device, the panel works anyway with no > noticeable color shifts or otherwise... Yeah that is typically the case :/ We should try to group the similar code together and expect that sooner or later we will figure out what display controller(s) it is and name it after that rather than after the panel (which I define as the combination of a display controller and an actual panel). Yours, Linus Walleij