summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_gem_execbuffer.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-06-11 08:55:32 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-06-11 11:00:04 +0100
commitacd1c1e621fcd90bf94e31b0c871cd241c9153ef (patch)
treef9cb2dd861178e3c9fae87fe40f0cc8837b33de0 /drivers/gpu/drm/i915/i915_gem_execbuffer.c
parent51c18bf7fdbe3c0546e86cb0fa5866fee07c5261 (diff)
drm/i915: Refactor unsettting obj->mm.pages
As i915_gem_object_phys_attach() wants to play dirty and mess around with obj->mm.pages itself (replacing the shmemfs with a DMA allocation), refactor the gubbins so into i915_gem_object_unset_pages() that we don't have to duplicate all the secrets. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180611075532.26534-1-chris@chris-wilson.co.uk Link: https://patchwork.freedesktop.org/patch/msgid/152871104647.1718.8796913290418060204@jlahtine-desk.ger.corp.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_execbuffer.c')
0 files changed, 0 insertions, 0 deletions