On Thu, Jun 04, 2015 at 04:59:41AM +0000, Xie, William wrote:
Hi Does anyone know what the result value of "-34" means returned by drmModeSetPlane?
William
-34 is -ERANGE which generally gets raised if you request scaling that your hardware (or driver) can't support. Not all platforms are capable of performing scaling and those that do support it generally have limits.
You can also get an -ERANGE return if your coordinates could cause an integer overflow (e.g., coordinates with values near INT_MAX).
Matt