]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Store available engine masks in INTEL_INFO
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 18 Oct 2018 10:41:06 +0000 (11:41 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 26 Oct 2018 09:14:05 +0000 (10:14 +0100)
commit8d803fe2d8b5bbceb7c70509e2d05f44949106db
treecba06ae13d35ee21702afe25b6dfccb96a74f241
parent5c01a8193d62488c6ada7e6aad149fbe2fab05a9
drm/i915/icl: Store available engine masks in INTEL_INFO

Upcoming GuC code will need to read the fused off engine masks as well,
and will also want to have them as enabled instead of disabled masks.

To consolidate the read-out place we can store them in this fashion inside
INTEL_INFO so they can be easily referenced in the future.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181018104106.30147-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_device_info.h