]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit9213e4f5444469d76fad1430e4b7af582e7877da
treecba06ae13d35ee21702afe25b6dfccb96a74f241
parent6fc4e48f9ed46e9adff236a0c350074aafa3b7fa
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