public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] i915/gem_ppgtt: Enable libdrm bo reuse
@ 2019-04-09 20:53 Chris Wilson
  2019-04-09 21:53 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2019-04-10  8:54 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Wilson @ 2019-04-09 20:53 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev

Try papering over the icl memleak with a spot of buffer recycling.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/i915/gem_ppgtt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/i915/gem_ppgtt.c b/tests/i915/gem_ppgtt.c
index ae9869c2c..4bff5cf98 100644
--- a/tests/i915/gem_ppgtt.c
+++ b/tests/i915/gem_ppgtt.c
@@ -107,6 +107,7 @@ static void fork_rcs_copy(int timeout, uint32_t final,
 
 		bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
 		igt_assert(bufmgr);
+		drm_intel_bufmgr_gem_enable_reuse(bufmgr);
 
 		dst[child] = create_bo(bufmgr, ~0);
 
@@ -179,6 +180,7 @@ static void fork_bcs_copy(int timeout, uint32_t final,
 
 		bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
 		igt_assert(bufmgr);
+		drm_intel_bufmgr_gem_enable_reuse(bufmgr);
 
 		dst[child] = create_bo(bufmgr, ~0);
 	}
-- 
2.20.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-10  8:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-09 20:53 [igt-dev] [PATCH i-g-t] i915/gem_ppgtt: Enable libdrm bo reuse Chris Wilson
2019-04-09 21:53 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-04-10  8:54 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox