commit | 6b8ac63847bc2f958dd93c09edc941a0118992d9 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Tue Jan 17 21:58:06 2017 +1100 |
committer | Eric Anholt <eric@anholt.net> | Tue Jan 17 22:06:01 2017 +1100 |
tree | d31e0103c67cb68ac11065598808627c1c76ea5c | |
parent | 0f2ff82e11c86c05d051cae32b58226392d33bbf [diff] |
drm/vc4: Return -EINVAL on the overflow checks failing. By failing to set the errno, we'd continue on to trying to set up the RCL, and then oops on trying to dereference the tile_bo that binning validation should have set up. Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Eric Anholt <eric@anholt.net> Fixes: d5b1a78a772f ("drm/vc4: Add support for drawing 3D frames.")