]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Move stolen node into GEM object union
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Jan 2021 21:43:33 +0000 (21:43 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Jan 2021 20:46:36 +0000 (20:46 +0000)
commit3b5d3df2a64731dccf817f12ddebe4976d189ef9
tree02bc06ec4211dc971c6df25c2dcb7fe42754184d
parent0ee97ec1a844e092285e50209c397a8e5b1bb7b4
drm/i915/gem: Move stolen node into GEM object union

The obj->stolen is currently used to identify an object allocated from
stolen memory. This dates back to when there were just 1.5 types of
objects, an object backed by shmemfs and an object backed by shmemfs
with a contiguous physical address. Now that we have several different
types of objects, we no longer want to treat stolen objects as a special
case.

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/20210119214336.1463-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/display/intel_fbdev.c
drivers/gpu/drm/i915/gem/i915_gem_object.h
drivers/gpu/drm/i915/gem/i915_gem_object_types.h
drivers/gpu/drm/i915/gem/i915_gem_phys.c
drivers/gpu/drm/i915/gem/i915_gem_shmem.c
drivers/gpu/drm/i915/gem/i915_gem_stolen.c
drivers/gpu/drm/i915/gem/i915_gem_stolen.h
drivers/gpu/drm/i915/gt/intel_ring.c
drivers/gpu/drm/i915/gt/shmem_utils.c
drivers/gpu/drm/i915/i915_debugfs.c