drm/i915/huc: Assert that HuC vma is placed in GuC accessible range
authorMichał Winiarski <michal.winiarski@intel.com>
Fri, 20 Jan 2017 19:23:47 +0000 (20:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 20 Jan 2017 19:59:57 +0000 (19:59 +0000)
commit3139b4a3a24c0a84fed1c1041eb254c858087c72
treefb8fae108c21e35d36db212ebcf1b7b3e72eec70
parent7e8d12bc733fc9deeb5d78140cda169030fa2ac5
drm/i915/huc: Assert that HuC vma is placed in GuC accessible range

HuC firmware is mapped at GuC accessible range. Let's add an assert to
verify that.

Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170120192348.2049-2-michal.winiarski@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_huc.c