History log of /external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/ilo/ilo_query.c
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/ilo/ilo_query.c
0d04ec2fd23f8b1baf62ea0ab8c7a86f23ada619 04-Feb-2016 Ilia Mirkin <imirkin@alum.mit.edu> ilo: add PIPE_QUERY_OCCLUSION_PREDICATE support

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
ef5d4bcc3a21f1aa3e6a919c8888f26ec754707f 06-May-2015 Chia-I Wu <olvaffe@gmail.com> ilo: silence a compiler warning

Silence

ilo_query.c:120:7: warning: 'return' with no value, in function returning non-void

since commit 96f164f6.
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
96f164f6f047833091eb98a73aa80c31dc94f962 05-Jul-2014 Samuel Pitoiset <samuel.pitoiset@gmail.com> gallium: make pipe_context::begin_query return a boolean

GL_AMD_performance_monitor must return an error when a monitoring
session cannot be started.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Martin Peres <martin.peres@free.fr>
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
bbe91576b7f5d69dc201f411cce5e619498cfef5 07-Mar-2015 Chia-I Wu <olvaffe@gmail.com> ilo: move intel_winsys.h to core

Add a new subdirectory and start moving files that do not depend on
ilo_screen/ilo_context to it.
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
4ddd981e407f9e97fcbb862c241f1ce165616fd4 05-Mar-2015 Chia-I Wu <olvaffe@gmail.com> ilo: add more convenient intel_bo_{ref,unref}()

They both check for NULL and intel_bo_ref() returns the referenced bo. They
replace intel_bo_{reference,unreference}().
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
3afe30e64be7f4686398f826389159d87d8ae096 24-Sep-2014 Chia-I Wu <olvaffe@gmail.com> ilo: remove struct ilo_3d

Move members of ilo_3d that still make sense to ilo_context. With ilo_3d
gone, rename functions whose names begin with ilo_3d to something more
appropriate.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
392890d5de3970f5bee03a3ebce576e63e0a0bbf 24-Sep-2014 Chia-I Wu <olvaffe@gmail.com> ilo: rename ilo_3d.[ch] to ilo_draw.[ch]

There is not much left in struct ilo_3d. We want to kill it and ilo_3d.[ch]
will be bad names.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
9c873816a8ba0fe19fe6d38839078c1b75957953 20-Sep-2014 Chia-I Wu <olvaffe@gmail.com> ilo: rework query support

This fixes some corner cases, but more importantly, the new code should be
easier to reason about.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
8a2352262e27bf7d3c31a20b72eb04772d56ff42 19-Sep-2014 Chia-I Wu <olvaffe@gmail.com> ilo: rename ilo_cp_flush()

"Flush" is used for too many things already: pipe resource flush, pipe context
flush, pipe transfer region flush, and hardware pipeline flush. Rename it to
ilo_cp_submit(). As such, ILO_DEBUG=flush is renamed to ILO_DEBUG=submit.
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
55f80a3290cb0e07db780265369eb504573b4e62 04-Sep-2014 Chia-I Wu <olvaffe@gmail.com> ilo: make ilo_cp based on ilo_builder

This makes ilo_cp use the builder to manage batch buffers, and use
ilo_builder_decode() to replace ilo_3d_pipeline_dump().
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
fbb869c1aaf6aa5400028556e23bbbb1ba41ce42 25-Aug-2014 Chia-I Wu <olvaffe@gmail.com> ilo: replace domains by reloc flags

It is simpler and is supported by the kernel. It cannot be used with
libdrm_intel yet though.
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
43e4b3e311df3bede930229380a7aa389ac7019a 27-Jun-2014 Ilia Mirkin <imirkin@alum.mit.edu> gallium: add an index argument to create_query

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
5ecdd7ba22945ce4e3a10b26c6f34a19eceeb289 02-Mar-2014 Chia-I Wu <olvaffe@gmail.com> ilo: add support for PIPE_QUERY_PIPELINE_STATISTICS
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
3e324f99d3b8f6b9da00c3f90719fba19e77ae7d 08-Mar-2014 Chia-I Wu <olvaffe@gmail.com> ilo: replace bo alloc flags by initial domains

The only alloc flag is INTEL_ALLOC_FOR_RENDER, which can as well be expressed
by specifying the initial write domain. The change makes it obvious that we
failed to set INTEL_ALLOC_FOR_RENDER in several places.
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
90786613e98a4d9e5dbb733c18003c36992aba30 08-Mar-2014 Chia-I Wu <olvaffe@gmail.com> ilo: rework winsys bo reloc functions

Rename

intel_bo_emit_reloc() to intel_bo_add_reloc(),
intel_bo_clear_relocs() to intel_bo_truncate_relocs(), and
intel_bo_references() to intel_bo_has_reloc().

Besides, we need intel_bo_get_offset() only to get the presumed offset afer
adding a reloc entry. Remove the function and make intel_bo_add_reloc()
return the presumed offset. While at it, switch to gem_bo->offset64 from
gem_bo->offset.
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
ce87c51e9ad131670fd8e4dcc0d023d0b057612b 20-Aug-2013 Chia-I Wu <olvaffe@gmail.com> ilo: add ILO_DEBUG=flush

When specified, ilo will print a line similar to

cp flushed for render with 949+888 DWords (22.4%) because of frame end

for every ilo_cp_flush() call.
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
cdfb2163c4cf6b54b6d8ba61f5460a29f58e3184 12-Jun-2013 Chia-I Wu <olvaffe@gmail.com> ilo: get rid of function tables in winsys

We are moving toward making struct intel_bo alias drm_intel_bo. As a first
step, we cannot have function tables.
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
12dd397d0c2fb1d7015e8eb416f8903918f8f4bb 12-Dec-2012 Chia-I Wu <olv@lunarg.com> ilo: add support for time/occlusion/primitive queries
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
72357cf3bbe889e802419931ea3d4c55b01d33bd 12-Dec-2012 Chia-I Wu <olv@lunarg.com> ilo: hook up pipe context query functions

None of the query types are supported yet.
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c
63b572010554d62c3463c8db4e016ecbed117178 12-Dec-2012 Chia-I Wu <olv@lunarg.com> ilo: new pipe driver for Intel GEN6+

This commit adds some boilerplate code. The header files found under include/
are copied from i965.
/external/mesa3d/src/gallium/drivers/ilo/ilo_query.c