diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-05-29 19:32:04 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-05-29 23:38:29 +0100 |
commit | 7d192daa73d9f377fadd2f8ac78146b41685b789 (patch) | |
tree | 5470e100a7004eee930aa0e6248b59cbdb7d9645 /drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | |
parent | ee3fab5b32c0ac81f03d5af0f9646d1741169da5 (diff) | |
download | linux-7d192daa73d9f377fadd2f8ac78146b41685b789.tar.bz2 |
drm/i915/gem: Give each object class a friendly name
Name the object classes and their offspring for easier lockdep
debugging.
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/20200529183204.16850-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_gem_gtt.c')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c b/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c index 2e471500a646..0016ffc7d914 100644 --- a/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c +++ b/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c @@ -97,6 +97,7 @@ static void fake_put_pages(struct drm_i915_gem_object *obj, } static const struct drm_i915_gem_object_ops fake_ops = { + .name = "fake-gem", .flags = I915_GEM_OBJECT_IS_SHRINKABLE, .get_pages = fake_get_pages, .put_pages = fake_put_pages, |