Re: [Intel-gfx] [PATCH 2/5] drm/i915: Track i915_active using debugobjects

2019-06-21 Thread Chris Wilson
Quoting Matthew Auld (2019-06-21 16:25:05) > On 21/06/2019 14:05, Chris Wilson wrote: > > Provide runtime asserts and tracking of i915_active via debugobjects. > > For example, this should allow us to check that the i915_active is only > > active when we expect it to be and is never freed too early

Re: [Intel-gfx] [PATCH 2/5] drm/i915: Track i915_active using debugobjects

2019-06-21 Thread Matthew Auld
On 21/06/2019 14:05, Chris Wilson wrote: Provide runtime asserts and tracking of i915_active via debugobjects. For example, this should allow us to check that the i915_active is only active when we expect it to be and is never freed too early. One consequence is that, for simplicity, we no longe

[Intel-gfx] [PATCH 2/5] drm/i915: Track i915_active using debugobjects

2019-06-21 Thread Chris Wilson
Provide runtime asserts and tracking of i915_active via debugobjects. For example, this should allow us to check that the i915_active is only active when we expect it to be and is never freed too early. One consequence is that, for simplicity, we no longer allow i915_active to be on-stack which on