diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-06-21 19:37:58 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-06-21 19:47:50 +0100 |
commit | 5361db1a33c7e2d58af7df045d4d3ddd4c87ab56 (patch) | |
tree | 186f8af37e77878a74d612e3c5ec68243e8b5e1c /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | 9e9539800dd44b1190128d48a116f4660f5d206f (diff) |
drm/i915: Track i915_active using debugobjects
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 only affected the selftests.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190621183801.23252-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
0 files changed, 0 insertions, 0 deletions