]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: do not map aperture if it is not available.
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 29 Oct 2019 09:58:51 +0000 (09:58 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Oct 2019 10:35:43 +0000 (10:35 +0000)
commitb099bb10718241600fd27ec67b689d4687fcb4e8
treee4726c329351306e678c2de2c4e6dceb72992e7c
parent53d06328e70da99ea9e1a376c2822490897cf799
drm/i915: do not map aperture if it is not available.

Skip both setup and cleanup of the aperture mapping if the HW doesn't
have an aperture bar.

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-2-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c