drm/i915: Factor out setup_private_pat()
authorZhi Wang <zhi.a.wang@intel.com>
Tue, 12 Sep 2017 07:42:24 +0000 (15:42 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Sep 2017 09:58:46 +0000 (10:58 +0100)
commit36e16c49dbfec806754862f63136de552d4de4ba
tree93468bf18ab60349912a69b1a2173bbcaa7e063a
parentc3881128cb672cf484a52fbb36b5daa9044d9168
drm/i915: Factor out setup_private_pat()

Factor out setup_private_pat() for introducing the following patches.

Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Cc: Ben Widawsky <benjamin.widawsky@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1505202148-22959-1-git-send-email-zhi.a.wang@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem_gtt.c