History log of /external/mesa3d/src/gallium/drivers/freedreno/freedreno_query_hw.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f8fd02dc7cad1ddcfb610db10ffbb41e3e34e7d 11-Jul-2016 Rob Clark <robdclark@gmail.com> freedreno: re-order support for hw queries

Push query state down to batch, and use the resource tracking to figure
out which batch(es) need to be flushed to get the query result.

This means we actually need to allocate the prsc up front, before we
know the size. So we have to add a special way to allocate an un-
backed resource, and then later allocate the backing storage.

Signed-off-by: Rob Clark <robdclark@gmail.com>
/external/mesa3d/src/gallium/drivers/freedreno/freedreno_query_hw.h
10baf05b2caaa0900c71ac64c91301e953176516 11-Jul-2016 Rob Clark <robdclark@gmail.com> freedreno: use prsc for hw queries

Switch to using a pipe_resource (rather than an fd_bo directly) for hw
query result buffers. This is first step towards making queries work
properly with reordered batches, since we'll need the additional
dependency tracking to know which batches to flush.

Signed-off-by: Rob Clark <robdclark@gmail.com>
/external/mesa3d/src/gallium/drivers/freedreno/freedreno_query_hw.h
ba452d43e0f5ee6ceec5da031f55904f8144472c 02-Jun-2016 Rob Clark <robclark@freedesktop.org> freedreno: fix dereference before null check

ptr can actually never be null so just drop the check.

CID 1362464 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking ptr suggests that it may be null,
but it has already been dereferenced on all paths leading to the check.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/freedreno_query_hw.h
8529e210ecb2aa362f51399f8632c6d4429401cf 10-Feb-2016 Rob Clark <robclark@freedesktop.org> freedreno/query: add optional enable hook

Add enable hook for hw query providers. Some will need to configure
perfctr selector registers, which we want to do at the start of the
submit.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/freedreno_query_hw.h
7a30668ad665f3315106e1a959c6186dea79a24a 28-Apr-2015 Jason Ekstrand <jason.ekstrand@intel.com> util: Move gallium's linked list to util

The linked list in gallium is pretty much the kernel list and we would like
to have a C-based linked list for all of mesa. Let's not duplicate and
just steal the gallium one.

Acked-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/freedreno_query_hw.h
b8f78e18907be379415c8c804b634808349fc1d9 10-May-2014 Rob Clark <robclark@freedesktop.org> freedreno: add support for hw queries

Real GPU queries need some infrastructure to track samples per tile and
accumulate the results. But fortunately this can be shared across GPU
generation.

See:
https://github.com/freedreno/freedreno/wiki/Queries#hardware-queries

Signed-off-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/drivers/freedreno/freedreno_query_hw.h