Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6b8ac638 authored by Eric Anholt's avatar Eric Anholt
Browse files

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: default avatarIngo Molnar <mingo@kernel.org>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Fixes: d5b1a78a ("drm/vc4: Add support for drawing 3D frames.")
parent 0f2ff82e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment