drm/i915: define i915_ggtt_has_aperture
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 29 Oct 2019 09:58:50 +0000 (09:58 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Oct 2019 10:31:40 +0000 (10:31 +0000)
commit773ed805b5ee3c88a889622fac48ce8e3640bcd9
tree02b15ab128d37e98638c928af08bc617f61859b1
parent3df2c830bfc4d7d5d1682d382dfd853e246fc884
drm/i915: define i915_ggtt_has_aperture

The following patches in the series will use it to avoid certain
operations when the mappable aperture is not available in HW.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191029095856.25431-1-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.h