- 17 2月, 2016 3 次提交
-
-
由 Eric Anholt 提交于
This caused the wait ioctls to claim that waiting had completed when we actually got interrupted by a signal before it was done. Fixes broken rendering throttling that produced serious lag in X window dragging. Signed-off-by: NEric Anholt <eric@anholt.net>
-
由 Eric Anholt 提交于
Fixes igt vc4_create_bo/create-bo-0 by returning -EINVAL from the ioctl instead of -ENOMEM. Signed-off-by: NEric Anholt <eric@anholt.net>
-
由 Eric Anholt 提交于
This is ABI future-proofing if we ever want to extend the pad to mean something. Signed-off-by: NEric Anholt <eric@anholt.net>
-
- 18 12月, 2015 3 次提交
-
-
由 Dan Carpenter 提交于
"exec->exec_bo" is NULL at this point so this code returns success. We want to return -ENOMEM. Fixes: d5b1a78a ('drm/vc4: Add support for drawing 3D frames.') Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NEric Anholt <eric@anholt.net>
-
由 Dan Carpenter 提交于
"state" is smaller than "kernel_state" so we end up corrupting memory. Fixes: 21461365 ('drm/vc4: Add an interface for capturing the GPU state after a hang.') Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NEric Anholt <eric@anholt.net>
-
由 Dan Carpenter 提交于
The copy_to/from_user() functions return the number of bytes remaining to be copied. We want to return error codes here. Also it's a bad idea to print an error message if a copy from user fails because users can use that to spam /var/log/messages which is annoying so I removed those. Fixes: 21461365 ('drm/vc4: Add an interface for capturing the GPU state after a hang.') Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NEric Anholt <eric@anholt.net>
-
- 08 12月, 2015 3 次提交
-
-
由 Eric Anholt 提交于
This can be parsed with vc4-gpu-tools tools for trying to figure out what was going on. v2: Use __u32-style types. Signed-off-by: NEric Anholt <eric@anholt.net>
-
由 Eric Anholt 提交于
An async pageflip stores the modeset to be done and executes it once the BOs are ready to be displayed. This gets us about 3x performance in full screen rendering with pageflipping. Signed-off-by: NEric Anholt <eric@anholt.net>
-
由 Eric Anholt 提交于
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: NEric Anholt <eric@anholt.net>
-