Maxime Ripard writes: > Hi, > > The proprietary stack for the RaspberryPi allows for a number of video > parameters widely used by their users, but yet don't have any equivalents > in the mainline kernel. > > Those options are detailed here: > https://www.raspberrypi.org/documentation/configuration/config-txt/video.md > > While not all of them are desirable to have in the mainline kernel, some of > them still have value, such as properties to initialise the overscan or > rotation parameters, or the one to deal with broken displays. > > This series is an attempt to support those, and is based on a rewrite of > the command line parser I did a couple of years ago that never reached > upstream (due to a lack of time on my side). While this parser was > initially made to deal with named modes (in order to support TV modes), it > also allowed to extend it more easily, which is why it's resurrected. FWIW for other reviewers, the overscan and rotation are the really important parts of this series. Since Raspberry Pi ends up connected to TVs so frequently, there are many users of the overscan workaround. Rotation is important for supporting the official DSI touchscreen panel, which is unfortunately mounted upside down in most mounts you'll find. > Since a change of the command line parser can pretty easily get things > wrong and introduce regressions, I also worked with a number of unit tests > that you can find here: http://code.bulix.org/tpo7dg-607264?raw Would kselftests be an appropriate way to include these, maybe?