[PATCH] drm: Add integer overflow checking to transitional plane helpers

2015-04-07 Thread Daniel Vetter
On Fri, Apr 03, 2015 at 02:27:46PM -0700, Matt Roper wrote: > Add tests for destination rectangle integer overflow before calling the > driver's check function. This will ensure that the transitional plane > helpers match the behavior of the full atomic helpers by always > returning -ERANGE for pl

[PATCH] drm: Add integer overflow checking to transitional plane helpers

2015-04-03 Thread Matt Roper
Add tests for destination rectangle integer overflow before calling the driver's check function. This will ensure that the transitional plane helpers match the behavior of the full atomic helpers by always returning -ERANGE for planes positioned beyond INT_MAX. Note that the legacy SetPlane ioctl