]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Exclude the upper end of the Global GTT for the GuC
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Jan 2017 15:30:23 +0000 (15:30 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Jan 2017 15:34:46 +0000 (15:34 +0000)
commitef384264ed525164eccacf3c1b9fbf75b68150b5
tree9c7c782a15afff6a66711824513fcefb74b6f394
parente00a1516e8f0c76b4349ea35601e402df2035478
drm/i915/guc: Exclude the upper end of the Global GTT for the GuC

The GuC uses a special mapping for the upper end of the Global GTT,
similar to the way it uses a special mapping for the lower end, so
exclude it from our drm_mm to prevent us using it.

v2: Rename to reflect that it is unmappable similar to the region at the
bottom of the GGTT, and couple it into the assertion that we don't feed
unmappable addresses to the GuC.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170105153023.30575-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_guc_reg.h
drivers/gpu/drm/i915/intel_uc.h