* Modifiers must uniquely encode buffer layout. In other words, a buffer must
* match only a single modifier.
The semi-functional LINEAR modifier needs to go. The idea of modifiers is that nobody should have to expose one that is unsupported to keep things working for a subset of apps. If the LINEAR modifier is a requirement everywhere because of apps, and even drivers that can't support it must expose it, that's a problem. It causes GBM/EGL to fail to import a DMABUF for a random reason and it can't be prevented without, say, looking at PCI IDs. If that happened for any other API, it would be considered unusable. We can either fix it (by replacing/deprecating/removing LINEAR) or abandon modifiers and replace them with something that works.
Marek