History log of /external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f27ad55974d0bdac4c94a4523a4d42cc75334d5 11-Nov-2016 Eric Anholt <eric@anholt.net> vc4: Try compiling our FSes in multithreaded mode on new kernels.

Multithreaded fragment shaders let us hide texturing latency by a
hyperthreading-style switch to another fragment shader. This gets us up
to 20% framerate improvements on glmark2 tests.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
45c022f2b06967196516f0616a9e4959ddcd14da 17-Nov-2016 Eric Anholt <eric@anholt.net> vc4: Add support for ETC1 textures if the kernel is new enough.

The kernel changes for exposing the param have now been merged, so we can
expose it here.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
1c38ee380dc6c847c62e8a83978b31382f55bcff 12-Oct-2016 Eric Anholt <eric@anholt.net> vc4: Move simulator memory management to a u_mm.h heap.

Now we aren't limited to 256MB total allocated across a driver instance,
just 256MB at one time. We're still copying in and out, which should get
fixed.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
9f755223821eaa0a889f8a10cccc66e15bf0abb4 12-Oct-2016 Eric Anholt <eric@anholt.net> vc4: Move simulator globals into a struct.

I would like to put a couple more things in here, so it's time to package
it up.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
2a83036fe29262c8761812c65d6e81c7198da54e 27-Sep-2016 Nicolai Hähnle <nicolai.haehnle@amd.com> vc4: use the new parent/child pools for transfers

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
47e3cc7557144ea62cab65c86f0241ec53784d71 17-May-2016 Eric Anholt <eric@anholt.net> vc4: Tell state_tracker that we would prefer NIR.

Before this series, the code generation path was:

GLSL IR -> TGSI -> NIR -> NIR clone -> QIR -> QPU

Now it's (generally)

GLSL IR -> NIR -> NIR clone -> QIR -> QPU
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
9ace2c13550609dfe78164f104500d438821f383 22-Jul-2016 Rob Herring <robh@kernel.org> vc4: add hash table look-up for exported dmabufs

It is necessary to reuse existing BOs when dmabufs are imported. There
are 2 cases that need to be handled. dmabufs can be created/exported and
imported by the same process and can be imported multiple times.
Copying other drivers, add a hash table to track exported BOs so the
BOs get reused.

v2: Whitespace fixup (by anholt)

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
d2b4b16589b1206b20aea638f8b0c7cf740b3a4f 12-Jul-2016 Eric Anholt <eric@anholt.net> vc4: Return V3D version details in the GL renderer info.

This is as close as we get to a name for the 3D blocks.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
d81934cded89b20cf305e5afb5c2de9b22d02904 12-Jul-2016 Eric Anholt <eric@anholt.net> vc4: Check the V3D version reported by the kernel.

We don't want to bring up an old userspace driver on a kernel for
newer hardware. We'll also want to look at the other ident fields in
the future.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
ab1d40b84a9812d73411f3499274a6cbf3f25373 11-Jul-2016 Eric Anholt <eric@anholt.net> vc4: Add a flag in the screen to track control flow support.

For now it's still always false, but I need it in place for kernel
backwards compat support as I extend the backend for control flow.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
3858722740185c644bdea1d6f27ff4960d4c49c5 14-Oct-2014 Eric Anholt <eric@anholt.net> vc4: Add support for dumping executed commands to a file.

The VC4_DEBUG=cl,qpu is nice and all, but I want to be able to get more
detailed dumps, and to replay the same exact commands in simulation. For
that I need a dump with all of the VBOs, shaders, shader recs, etc. This
dump can be parsed by vc4-gpu-tools.

For now this is only doable from simulator mode, because otherwise we
don't have access to the RCL contents generated by the kernel.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
62d153ea37b1bf572c39aab8ec46099fc903362d 18-Jun-2015 Eric Anholt <eric@anholt.net> vc4: Track the number of BOs allocated and their size.

This is useful for BO leak debugging.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
9dca3beb62e894bbd720c5eecb47c0fd2c6132f9 07-Jun-2015 Eric Anholt <eric@anholt.net> vc4: Drop qir include from vc4_screen.h

We didn't need any of it except for the list header, and qir.h pulls in
nir.h, which is not really interesting to winsys.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
78c773bb3646295e4a4f1fe7d6d10f05758ee48b 30-May-2015 Eric Anholt <eric@anholt.net> vc4: Convert from simple_list.h to list.h

list.h is a nicer and more familiar set of list functions/macros.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
73e2d4837d7e4611f31532ab0ccc14369341e0cb 30-Oct-2014 Eric Anholt <eric@anholt.net> vc4: Convert to consuming NIR.

NIR brings us better optimization than I would have bothered to write
within the driver, developers sharing future optimization work, and the
ability to share device-specific lowering code that we and other
GLES2-level drivers need.

total uniforms in shared programs: 13421 -> 13422 (0.01%)
uniforms in affected programs: 62 -> 63 (1.61%)
total instructions in shared programs: 39961 -> 39707 (-0.64%)
instructions in affected programs: 15494 -> 15240 (-1.64%)

v2: Add missing imov support, and assert that there are no dest saturates.
v3: Rebase on the target-specific algebraic series.
v4: Rebase on gallium-includes-from-NIR changes in mater.
v5: Rebase on variables being in lists instead of hash tables.
v6: Squash in intermediate changes that used the NIR-to-TGSI pass (which
I'm not committing)
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
06890c444a893a96b6ec1cfb36f77915ec9acda8 14-Dec-2014 Eric Anholt <eric@anholt.net> vc4: Add a userspace BO cache.

Since our kernel BOs require CMA allocation, and the use of them requires
new mmaps, it's pretty expensive and we should avoid it if possible.
Copying my original design for Intel, make a userspace cache that reuses
BOs that haven't been shared to other processes but frees BOs that have
sat in the cache for over a second.

Improves glxgears framerate on RPi by around 30%.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
113044e1b9d8f70a26f826f7c03adcbbc8ecb138 17-Dec-2014 Eric Anholt <eric@anholt.net> vc4: Drop a weird argument in the BOs-from-handles API.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
34cf86bdc48e1b350437fe831fedd4632f4e06c2 02-Dec-2014 Eric Anholt <eric@anholt.net> vc4: Add a debug flag for waiting for sync on submit.

This is nice when you're tracking down which command list is hanging the
GPU.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
21577571b37e68edc0422fbf80932588a4614abc 20-Nov-2014 Eric Anholt <eric@anholt.net> vc4: Update for new kernel ABI with async execution and waits.

Our submits now return immediately and you have to manually wait for
things to complete if you want to (like a normal driver).
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
a894898255c8e016d56afa08c26a4fc54d0eab13 05-Sep-2014 Eric Anholt <eric@anholt.net> vc4: Add a debug flag for flushing after every draw.

It was useful on i965, but it's even more useful for debugging tiled
renderers.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
3a1efcc7f9f99d42cda191ded1eb78140366c708 19-Aug-2014 Eric Anholt <eric@anholt.net> vc4: Add support for texture tiling.

This still treats everything as RGBA8888 for the most part, same as
before. This is a prerequisite for handling other texture formats, since
only RGBA8888 has a raster-layout mode.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
76f687d5a5be9d3bce8d05bcfef97a3d74ca1f18 18-Aug-2014 Eric Anholt <eric@anholt.net> vc4: Add support for swizzling of texture colors.

Fixes swapped colors on the copypix demo and some piglit tests like
pbo-teximage-tiling .
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
3e9a09415e84a2ae71eec8db65e58c3ea648c305 12-Aug-2014 Eric Anholt <eric@anholt.net> vc4: Fix off-by-one in texture maximum levels.

It's 2048x2048 that's the max, not 1024x1024.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
a3cd3c0d198374647df3db83198e8ce0cddcb6b7 18-Jul-2014 Eric Anholt <eric@anholt.net> vc4: Switch simulator to using kernel validator

This ensures that when I'm using the simulator, I get a closer match to
what behavior on real hardware will be. It lets me rapidly iterate on the
kernel validation code (which otherwise has a several-minute turnaround
time), and helps catch buffer overflow bugs in the userspace driver
faster.
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
21db43021041e8dedc45bb232c10ece83fd09dd1 28-Jun-2014 Eric Anholt <eric@anholt.net> vc4: Add VC4_DEBUG env option

v2: Fix an accidental deletion of some characters from the copyright
message (caught by Ilia Mirkin)
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h
1850d0a1cbf044dc4d29b7a9ede2c634f667d853 19-Jun-2014 Eric Anholt <eric@anholt.net> vc4: Initial skeleton driver import.

This mostly just takes every draw call and turns it into a sequence of
commands that clear the FBO and draw a single shaded triangle to it,
regardless of the actual input vertices or shaders. I copied the initial
driver skeleton mostly from freedreno, and I've preserved Rob Clark's
copyright for those. I also based my initial hardcoded shaders and
command lists on Scott Mansell (phire)'s "hackdriver" project, though the
bit patterns of the shaders emitted end up being different.

v2: Rebase on gallium megadrivers changes.
v3: Rebase on PIPE_SHADER_CAP_MAX_CONSTS change.
v4: Rely on simpenrose actually being installed when building for
simulation.
v5: Add more header duplicate-include guards.
v6: Apply Emil's review (protection against vc4 sim and ilo at the same
time, and dropping the dricommon drm bits) and fix a copyright header
(thanks, Roland)
/external/mesa3d/src/gallium/drivers/vc4/vc4_screen.h