mesa/src/intel
Tapani Pälli 446c5726ec i965: fix blorp stage_prog_data->param leak
Patch uses mem_ctx for allocation to ensure param array gets freed
later.

==6164== 48 bytes in 1 blocks are definitely lost in loss record 61 of 193
==6164==    at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
==6164==    by 0x12E31C6C: ralloc_size (ralloc.c:121)
==6164==    by 0x130189F1: fs_visitor::assign_constant_locations() (brw_fs.cpp:2095)
==6164==    by 0x13022D32: fs_visitor::optimize() (brw_fs.cpp:5715)
==6164==    by 0x13024D5A: fs_visitor::run_fs(bool, bool) (brw_fs.cpp:6229)
==6164==    by 0x1302549A: brw_compile_fs (brw_fs.cpp:6570)
==6164==    by 0x130C4B07: blorp_compile_fs (blorp.c:194)
==6164==    by 0x130D384B: blorp_params_get_clear_kernel (blorp_clear.c:79)
==6164==    by 0x130D3C56: blorp_fast_clear (blorp_clear.c:332)
==6164==    by 0x12EFA439: do_single_blorp_clear (brw_blorp.c:1261)
==6164==    by 0x12EFC4AF: brw_blorp_clear_color (brw_blorp.c:1326)
==6164==    by 0x12EFF72B: brw_clear (brw_clear.c:297)

Fixes: 8d90e28839 ("intel/compiler: Allocate pull_param in assign_constant_locations")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable@lists.freedesktop.org
2017-10-30 08:19:37 +02:00
..
blorp blorp: enable R32G32B32X32 blorp ccs copies 2017-10-21 02:37:33 +01:00
common meson: move expat dependency where it's needed 2017-10-18 14:27:20 +01:00
compiler i965: fix blorp stage_prog_data->param leak 2017-10-30 08:19:37 +02:00
genxml intel: Make Cube Face Enable fields consistent across generations. 2017-10-03 00:06:34 -07:00
isl isl: Fix width check in isl_gen7_choose_msaa_layout. 2017-10-19 10:21:45 -07:00
tools intel/tools/disasm: correctly observe FILE *out parameter 2017-10-26 10:43:48 -07:00
vulkan anv: Fix assert about source attrs. 2017-10-27 03:01:13 -07:00
Android.blorp.mk intel: android: remove libdrm_intel requirement 2017-03-30 19:07:23 +01:00
Android.common.mk android: link libmesa_intel_common with zlib and expat 2017-08-02 10:30:50 +03:00
Android.compiler.mk android: fix build issues with brw_nir_trig_workarounds.c 2017-10-04 07:39:05 +03:00
Android.genxml.mk i965/cnl: Wire up android Mesa build files for gen10 2017-06-09 16:02:58 -07:00
Android.isl.mk i965/cnl: Wire up android Mesa build files for gen10 2017-06-09 16:02:58 -07:00
Android.mk intel/vulkan: Get rid of recursive make 2017-03-13 11:16:35 +00:00
Android.vulkan.mk anv: Install as Vulkan HAL module in Android.mk build 2017-10-18 00:23:38 -07:00
Makefile.am configure: Test for -Wno-initializer-overrides 2017-08-29 15:20:57 -07:00
Makefile.blorp.am blorp: automake: add TODO to the tarball 2017-02-24 17:37:00 +00:00
Makefile.common.am automake: intel: move expat handling where it's used 2017-10-18 14:27:20 +01:00
Makefile.compiler.am intel: use a flag instead of setting PYTHONPATH 2017-09-27 09:07:28 -07:00
Makefile.genxml.am intel: genxml: automake: include gen_bits_header.py in the tarball 2017-04-05 13:16:28 +01:00
Makefile.isl.am i965/cnl: Wire up Mesa build files for gen10 2017-06-09 16:02:58 -07:00
Makefile.sources anv: Implement VK_ANDROID_native_buffer (v9) 2017-10-18 00:23:38 -07:00
Makefile.tools.am automake: intel: move expat handling where it's used 2017-10-18 14:27:20 +01:00
Makefile.vulkan.am anv: Implement VK_ANDROID_native_buffer (v9) 2017-10-18 00:23:38 -07:00
meson.build meson: Add build Intel "anv" vulkan driver 2017-09-27 09:12:19 -07:00