Use libKMS++ to reduce duplicated code
The project KMX++ abstracts the low-level C KMS API into a more C++ friendly interface, almost exactly the same as done by the code inside this project's drm/ directory. The project was written by TIers and is already hosted as part of AOSP. I'd like to migrate drm-hwc to use this library to reduce redundant code (~20% of this project by line count) plus make use some of the extra features offered by the library.
Before I start using time on this, does anyone have any fundamental objections? The only reasons I can think one would have issue with this is either the licence (MIT, but we can work to change that if anyone takes issue as TI holds the copyright) and some use of exceptions (they are only thrown in error cases).