]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/i915: Extract aliasing ppgtt setup
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:50 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:46:45 +0000 (20:46 +0000)
commit6cde9a02e001532744a56052b2aecbda8c51bf16
treec8594e9ab20cf72d30511754fc65b9ff2f4e73b8
parent791ff39ae32a34816cdca40891f142f4122ad409
drm/i915: Extract aliasing ppgtt setup

In order to force testing of the aliasing ppgtt, extract its
initialisation function.

v2: Also extract the cleanup function for symmetry.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-39-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h