1. 21 Feb, 2019 1 commit
  2. 18 Feb, 2019 7 commits
  3. 15 Feb, 2019 7 commits
  4. 13 Feb, 2019 7 commits
  5. 11 Feb, 2019 1 commit
  6. 10 Feb, 2019 5 commits
  7. 08 Feb, 2019 10 commits
  8. 07 Feb, 2019 2 commits
    • Gert Wollny's avatar
      vrend: Don't ref-count when UBO's are bound on the host side · 474addf5
      Gert Wollny authored
      v2: Instead of releasing the UBO's at the end don't reference count them.
          The guest keeps track of these resources and their reference counts,
          so it will not release the UBO's without re-setting the binding during
          the live time of a client progra, However, at final clean up the UBO's
          are not rebound before the resourse is released in the guest side resulting
          in the memory leak. When we skip the ref-counting on the host side the
          resourses are cleaned up correctly without breaking the program otherwise.
      Fixes resource leaks:
      Direct leak of 2448 byte(s) in 9 object(s) allocated from:
          #0 0x7fe3151aba68 in __interceptor_calloc (/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so+0xdba68)
          #1 0x7fe314b89ea6 in vrend_renderer_resource_create ../../../../virgl-gitlab/src/vrend_renderer.c:5834
          #2 0x7fe314b52b44 in virgl_renderer_resource_create ../../../../virgl-gitlab/src/virglrenderer.c:63
          #3 0x560533f27852 in vtest_create_resource2 ../../../../virgl-gitlab/vtest/vtest_renderer.c:432
          #4 0x560533f254fa in vtest_main_run_renderer ../../../../virgl-gitlab/vtest/vtest_server.c:359
          #5 0x560533f244df in main ../../../../virgl-gitlab/vtest/vtest_server.c:105
          #6 0x7fe313919ac9 in __libc_start_main (/lib64/libc.so.6+0x21ac9)
      Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
      Reviewed-by: Gurchetan Singh's avatarGurchetan Singh <gurchetansingh@chromium.org>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    • Gert Wollny's avatar
      vrenderer: avoid haing to include vrend_debug.h in virglerenderer.h · 70ae2c38
      Gert Wollny authored
      vrend_debug.h is not installed but we need the typedef for the debug
      Fixes: 70fefe33
        virgl: expose function to set output callback
      Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>