Skip to content
Snippets Groups Projects
  1. Nov 28, 2018
  2. Nov 26, 2018
  3. Nov 23, 2018
  4. Nov 22, 2018
    • Gert Wollny's avatar
      r600: clean up the GS ring buffers when the context is destroyed · c9e8fa6c
      Gert Wollny authored and Juan A. Suárez's avatar Juan A. Suárez committed
      
      This fixes two memory leaks reported by ASAN:
      
      Direct leak of 248 byte(s) in 1 object(s) allocated from:
         in malloc (/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so+0xdb880)
         in r600_alloc_buffer_struct ../../samba/mesa/src/gallium/drivers/r600/r600_buffer_common.c:578
         in r600_buffer_create ../../samba/mesa/src/gallium/drivers/r600/r600_buffer_common.c:600
         in r600_resource_create_common ../../samba/mesa/src/gallium/drivers/r600/r600_pipe_common.c:1265
         in r600_resource_create ../../samba/mesa/src/gallium/drivers/r600/r600_pipe.c:725
         in pipe_buffer_create ../../samba/mesa/src/gallium/auxiliary/util/u_inlines.h:291
         in update_gs_block_state ../../samba/mesa/src/gallium/drivers/r600/r600_state_common.c:1482
      
      Direct leak of 248 byte(s) in 1 object(s) allocated from:
         in malloc (/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so+0xdb880)
         in r600_alloc_buffer_struct ../../samba/mesa/src/gallium/drivers/r600/r600_buffer_common.c:578
         in r600_buffer_create ../../samba/mesa/src/gallium/drivers/r600/r600_buffer_common.c:600
         in r600_resource_create_common ../../samba/mesa/src/gallium/drivers/r600/r600_pipe_common.c:1265
         in r600_resource_create ../../samba/mesa/src/gallium/drivers/r600/r600_pipe.c:722
         in pipe_buffer_create ../../samba/mesa/src/gallium/auxiliary/util/u_inlines.h:291
         in update_gs_block_state ../../samba/mesa/src/gallium/drivers/r600/r600_state_common.c:1489
      
      Signed-off-by: default avatarGert Wollny <gert.wollny@collabora.com>
      Fixes: 1371d65a
        r600g: initial support for geometry shaders on evergreen (v2)
      Reviewed-by: default avatarRoland Scheidegger <sroland@vmware.com>
      (cherry picked from commit 61b53543)
      c9e8fa6c
  5. Nov 21, 2018
Loading