commit | 7b4ed2b513efad86616e932eb4bca20557addc78 | [log] [tgz] |
---|---|---|
author | Kevin Strasser <kevin.strasser@intel.com> | Thu Jan 24 16:32:48 2019 -0800 |
committer | Adam Jackson <ajax@nwnk.net> | Wed Aug 21 18:36:57 2019 +0000 |
tree | 9379268ee850c2bac41c54eea8a10ae0a5b9aea1 | |
parent | 3562f48c9d58793429fc5ea655b8b4629b495ce0 [diff] |
egl: Convert configs to use shifts and sizes instead of masks Change dri2_add_config to take arrays of shifts and sizes, and compare with those set in the dri config. Convert all platform driver masks to shifts and sizes. In order to handle older drivers, where shift attributes aren't available, we fall back to the mask attributes and compute the shifts with ffs. Signed-off-by: Kevin Strasser <kevin.strasser@intel.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>