On Tue, Mar 23, 2021 at 04:04:35PM +0000, Simon Ser wrote:
Can we instead have a macro/function to get the vendor? This would be useful elsewhere as well, see drmGetFormatModifierVendor in a recent-ish libdrm patch [1].
Either way would work. I chose this because it ends up being much shorter than extracting the vendor and comparing to the constant.
Maybe we should just add both?
Thierry