]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Rename obj->pin_display to obj->pin_global
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 Oct 2017 20:26:14 +0000 (21:26 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Oct 2017 19:44:19 +0000 (20:44 +0100)
commitbd3d2252f94da51dda96a6e2ad6fdef5f2959811
tree9ec4d85231b23efa6caed4267a4c5addfdf13c9b
parentf1fa4f442c82eb875babb88399a6b69efce7b453
drm/i915: Rename obj->pin_display to obj->pin_global

In the next patch, we want to extend use of the global pin counter for
semi-permanent pinning of context/ring objects. Given that we plan to
extend the usage to encompass a disparate set of objects, we want a name
that reflects both and should entail less confusion.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171013202621.7276-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_object.h
drivers/gpu/drm/i915/i915_gem_userptr.c