Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | drm/vc4: Return an ERR_PTR from BO creation instead of NULL. | Eric Anholt | 2016-02-16 | 1 | -2/+2 |
| | | | | | | | Fixes igt vc4_create_bo/create-bo-0 by returning -EINVAL from the ioctl instead of -ENOMEM. Signed-off-by: Eric Anholt <eric@anholt.net> | ||||
* | drm/vc4: Fix the clear color for the first tile rendered. | Eric Anholt | 2016-02-16 | 1 | -9/+9 |
| | | | | | | | | Apparently in hardware (as opposed to simulation), the clear colors need to be uploaded before the render config, otherwise they won't take effect. Fixes igt's vc4_wait_bo/used-bo-* subtests. Signed-off-by: Eric Anholt <eric@anholt.net> | ||||
* | drm/vc4: Add support for drawing 3D frames. | Eric Anholt | 2015-12-07 | 1 | -0/+634 |
The user submission is basically a pointer to a command list and a pointer to uniforms. We copy those in to the kernel, validate and relocate them, and store the result in a GPU BO which we queue for execution. v2: Drop support for NV shader recs (not necessary for GL), simplify vc4_use_bo(), improve bin flush/semaphore checks, use __u32 style types. Signed-off-by: Eric Anholt <eric@anholt.net> |