Help on drmModeSetPlane

Matt Roper matthew.d.roper at
Fri Jun 5 10:19:33 PDT 2015

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

You can also get an -ERANGE return if your coordinates could cause an
integer overflow (e.g., coordinates with values near INT_MAX).


Matt Roper
Graphics Software Engineer
IoTG Platform Enabling & Development
Intel Corporation
(916) 356-2795

More information about the dri-devel mailing list