History log of /external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e35cfa15cf2aa894dd267309eed250f6bc3c68c6 19-Jan-2017 George Kyriazis <george.kyriazis@intel.com> swr: Align query results allocation

Some query results struct contents are declared as cache line aligned.
Use aligned malloc, and align the whole struct, to be safe.

Fixes crash when compiling with clang.

CC: <mesa-stable@lists.freedesktop.org>

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
(cherry picked from commit 00847e4f14dd237dfcdb2c3d15be1325a08ccf5a)
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
a7b510f656dfbda0afb1de78926037a337449140 02-Dec-2016 Bruce Cherniak <bruce.cherniak@intel.com> swr: Fix active_queries count

The active_query count was incorrect for query types that don't require
a begin_query. Removed the unnecessary assert.

Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
dc8408920c8c5698d90d2fc7679a5b491ca71248 28-Oct-2016 Tim Rowley <timothy.o.rowley@intel.com> swr: [rasterizer core] separate frontend/backend stats enables

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
903d00cd32137161c0b57bcba95af51e47d91fa5 27-Sep-2016 Bruce Cherniak <bruce.cherniak@intel.com> swr: Removed stalling SwrWaitForIdle from queries.

Previous fundamental change in stats gathering added a temporary
SwrWaitForIdle to begin_query and end_query. Code has been reworked to
remove stall.

Reviewed-by: George Kyriazis <george.kyriazis@intel.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
4e8763cb0904c30d1962cf5ad52fe3a87be7b4bd 07-Aug-2016 Tim Rowley <timothy.o.rowley@intel.com> swr: [rasterizer core] split FE and BE stats

Separated FE stats out into its own structure. There are 17 FE vs 3 BE
stat fields. Since there is only one FE thread per DC then we don't have
to loop over all threads and sum up FE stats over all the worker threads.
This also reduces size of DC since we only need to store one copy of the
FE stats and not one per worker. Finally, we can use the new FE callback
mechanism to update these.

Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
6625fd08db0a24fad54d69ca1eb3935304b3a53e 05-Aug-2016 Tim Rowley <timothy.o.rowley@intel.com> swr: [rasterizer core] fundamentally change how stats work

Add a per draw stats callback to update driver stats.

Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
54272e18a682c8b82d4a86b2c07b51c303d8cead 06-Aug-2016 Marek Olšák <marek.olsak@amd.com> gallium: add a pipe_context parameter to fence_finish

required by glClientWaitSync (GL 4.5 Core spec) that can optionally flush
the context

Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
0062c5f09b4e0031425fdae8102c69cbef5cbff5 09-May-2016 Bruce Cherniak <bruce.cherniak@intel.com> swr: Add missing break in query switch statement.

Missed a switch break in query stat collection when refactoring queries.

Reviewed-by: George Kyriazis <george.kyriazis@intel.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
9d86a5eea79ac30bb90af363c66a5ba8529b37d8 28-Apr-2016 Bruce Cherniak <bruce.cherniak@intel.com> swr: Remove stall waiting for core query counters.

When gathering query results, swr_gather_stats was
unnecessarily stalling the entire pipeline. Results are now
collected asynchronously, with a fence marking completion.

Reviewed-By: George Kyriazis <george.kyriazis@intel.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
5815c8b3d3b7fe3311ac51533438f24f09768ad6 21-Apr-2016 Tim Rowley <timothy.o.rowley@intel.com> swr: fix clang warnings

v2: use alternate logic version in swr_check_render_cond

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
32214e0c6837a24ad82152e9971baa3926992498 20-Apr-2016 Nicolai Hähnle <nicolai.haehnle@amd.com> gallium: add bool return to pipe_context::end_query

Even when begin_query succeeds, there can still be failures in query handling.
For example for radeon, additional buffers may have to be allocated when
queries span multiple command buffers.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
26171bd67e47cf25857cbce767ad048c8d99d1b0 08-Apr-2016 Marek Olšák <marek.olsak@amd.com> gallium: add pipe_context::set_active_query_state for pausing queries

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
e9d68cc3da07c4b566799bbaec2434bfc21d3e0c 10-Mar-2016 Bruce Cherniak <bruce.cherniak@intel.com> gallium/swr: Resource management

Better tracking of resource state and synchronization.
A follow on commit will clean up resource functions into a new
swr_resource.cpp file.

Reviewed-By: George Kyriazis <george.kyriazis@intel.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp
2b2d3680bf164ec4f8b50436b96c3fc195318ea5 17-Feb-2016 Tim Rowley <timothy.o.rowley@intel.com> gallium/swr: add OpenSWR driver

OpenSWR is a new software rasterizer for x86 processors designed
for high performance and high scalablility on visualization workloads.

Acked-by: Roland Scheidegger <sroland@vmware.com>
Acked-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/swr/swr_query.cpp