summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/kernel/vc4_render_cl.c
Commit message (Collapse)AuthorAgeFilesLines
* vc4: Fix validation of full res tile offset if used for non-MSAA.Eric Anholt2016-04-221-2/+3
| | | | | | There's no reason we couldn't do non-MSAA full resolution tile buffer load/stores, but we would have claimed buffer overflow was being attempted. Nothing does this currently.
* vc4: Add kernel RCL support for MSAA rendering.Eric Anholt2015-12-081-35/+219
|
* vc4: Rename color_ms_write to color_write.Eric Anholt2015-12-081-15/+14
| | | | | I was thinking this was the only MSAA resolve thing, so it should be noted separately, but actually load/store general also do MSAA resolve.
* vc4: Bring over cleanups from submitting to the kernel.Eric Anholt2015-12-051-2/+3
|
* vc4: Simplify vc4_use_bo and make sure it's not a shader.Eric Anholt2015-07-281-2/+2
| | | | | | | Since the conversion to keeping validated shaders around for the BO's lifetime, we haven't been checking that rendering doesn't happen to shaders. Make vc4_use_bo check that always, and just don't use it for the VC4_MODE_SHADER case (so now modes are unused)
* vc4: Make the object be the return value from vc4_use_bo().Eric Anholt2015-07-281-2/+4
| | | | Drops 40 bytes of code from validation.
* vc4: Clarify size calculation for Z/S writes.Eric Anholt2015-06-231-1/+1
| | | | | It's the same value for loads and stores, because they're basically the same packet.
* vc4: Add an "args" temporary for RCL setup.Eric Anholt2015-06-231-24/+24
|
* vc4: Move tile state/alloc allocation into the kernel.Eric Anholt2015-06-171-1/+2
| | | | | | | This avoids a security issue where userspace could have written the tile state/tile alloc behind the GPU's back, and will apparently be necessary for fixing stability bugs (tile state buffers are missing some top bits for the tile alloc's address).
* vc4: Move RCL generation into the kernel.Eric Anholt2015-06-171-0/+446
There weren't that many variations of RCL generation, and this lets us skip all the in-kernel validation for what we generated.