- 10 Feb, 2016 21 commits
-
-
Marc-André Lureau authored
Found thanks to llvm scan-build. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Found thanks to llvm scan-build. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
This is useful to do some quite accurate comparative benchmarks/profiling, and to run fuzzers, such as american fuzzy lop. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Fix found thanks to american fuzzy lop. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Or we could sit for a very long time in some further loops. Fix found thanks to american fuzzy lop. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Instead of later crashing. Fix found thanks to american fuzzy lop. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Check the the index is < PIPE_MAX_VIEWPORTS. Fix found thanks to american fuzzy lop. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Fix found thanks to american fuzzy lop. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
If we didn't run succesfully vrend_destroy_shader_selector(), sel->sinfo.so_names might be NULL. Fix found thanks to american fuzzy lop. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Avoid out-of-bound acces of array so_info.output. Fix found thanks to american fuzzy lop. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
That way an value if (type > PIPE_SHADER_GEOMETRY) guard will actually work for all values. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Fix leaks found thanks to AddressSanitizer. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
That would later crash in util_format_description() or others Fix found thanks to american fuzzy lop. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Found thanks to llvm scan-build. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Found thanks to llvm scan-build. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Found thanks to llvm scan-build. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Fix leaks found thanks to AddressSanitizer. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
The checked fixture run in the child test process. Fix leaks found thanks to AddressSanitizer. Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Commit 5058068a actually removed os/os_misc.h from libgallium_la_SOURCES Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
Marc-André Lureau authored
For completeness (there is no dynamic allocation on Linux). Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
- 29 Jan, 2016 6 commits
-
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
Marc-André Lureau authored
These leads to later crashes Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
Marc-André Lureau authored
Found thanks to llvm scan-build. Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
Marc-André Lureau authored
Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com>
-
- 21 Jan, 2016 11 commits
-
-
Dave Airlie authored
This stops us crashing later due to failing to init. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Marc-André Lureau authored
Built-in EGL supports threaded contexts, so enable sync thread. Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Marc-André Lureau authored
Just as bad as waiting only for the last fence, after all. Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Marc-André Lureau authored
For the same glmark2 "build" test, perf reports about half instructions. Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Marc-André Lureau authored
Instead of polling the fences regularly, have a thread that blocks for a single fence using a separate shared context, then uses eventfd to wake up the main thread when something happens. Inside the guest, glmark2 typicially runs twice as fast with the thread sync. Although in general, the performances seems to be about +30%. The benefits is mostly for CPU-bounds tasks (when main the thread hits 100%) A naive perf stat of the vtest renderer with glmark2 "build" test with a fixed number of frames (500) results in the following stats data: (do not value timing related informations, since the renderer is ran and stopped manually) without thread: 3032.282265 task-clock (msec) # 0.420 CPUs utilized 4,277 context-switches # 0.001 M/sec 102 cpu-migrations # 0.034 K/sec 9,020 page-faults # 0.003 M/sec 7,884,098,254 cycles # 2.600 GHz 4,440,126,451 stalled-cycles-frontend # 56.32% frontend cycles idle <not supported> stalled-cycles-backend 11,024,091,578 instructions # 1.40 insns per cycle # 0.40 stalled # cycles per insn 1,091,831,588 branches # 360.069 M/sec 5,426,846 branch-misses # 0.50% of all branches with thread: 3403.592921 task-clock (msec) # 0.452 CPUs utilized 7,145 context-switches # 0.002 M/sec 410 cpu-migrations # 0.120 K/sec 6,191 page-faults # 0.002 M/sec 7,475,038,064 cycles # 2.196 GHz 4,487,043,071 stalled-cycles-frontend # 60.03% frontend cycles idle <not supported> stalled-cycles-backend 9,925,205,494 instructions # 1.33 insns per cycle # 0.45 stalled # cycles per insn 834,375,503 branches # 245.146 M/sec 4,919,995 branch-misses # 0.59% of all branches Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
These are needed to make the gallium thread abstraction work. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
This is a precursor for some later changes Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Marc-André Lureau authored
Don't bust CFLAGS passed on make command line please. [airlied: wrap config.h include] Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Marc-André Lureau authored
we aren't using this currently bring it back later if required. Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
We aren't using this currently, bring it back if we need it later. Signed-off-by:
Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
Create a bunch of temp arrays based on the input TGSI ranges. Otherwise the temps code triggers a lack of some passes in the mesa GLSL compiler. A large shader from shadertoy triggered 1m30s compile in mesa due to the large temp array. Reported-by:
Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 17 Jan, 2016 1 commit
-
-
Marc-André Lureau authored
This is an internal API.
-
- 22 Dec, 2015 1 commit
-
-
Dave Airlie authored
These were missed in previous tgsi update
-