Re: [Intel-gfx] [PATCH] drm/i915: Flush the change in debugobject before reallocation

2017-01-16 Thread Joonas Lahtinen
On pe, 2017-01-13 at 21:43 +, Chris Wilson wrote: > When marking the debugobject as freed, be sure that write is flushed > before another CPU may see it on a reallocation path. > > Only seen once in CI: > > [  159.240873] WARNING: CPU: 3 PID: 6735 at lib/debugobjects.c:263 > debug_print_obje

[Intel-gfx] [PATCH] drm/i915: Flush the change in debugobject before reallocation

2017-01-13 Thread Chris Wilson
When marking the debugobject as freed, be sure that write is flushed before another CPU may see it on a reallocation path. Only seen once in CI: [ 159.240873] WARNING: CPU: 3 PID: 6735 at lib/debugobjects.c:263 debug_print_object+0x87/0xb0 [ 159.240897] ODEBUG: init destroyed (active state 0)