OSDN Git Service

drm/i915/icl: Correctly initialize the Gen11 engines
authorOscar Mateo <oscar.mateo@intel.com>
Fri, 2 Mar 2018 16:14:57 +0000 (18:14 +0200)
committerMika Kuoppala <mika.kuoppala@linux.intel.com>
Wed, 7 Mar 2018 13:07:04 +0000 (15:07 +0200)
commit5f79e7c6754249dd71f3124c9c7604aab2880c20
treed6b116b378ec704ea01e479eb96ccc506a92d6e6
parent4e9a8bef20c973f62358fbd888a38f1bd1669200
drm/i915/icl: Correctly initialize the Gen11 engines

Gen11 has up to 4 VCS and up to 2 VECS engines, this patch adds mmio
base definitions for all of them.

Bspec: 20944
Bspec: 7021

v2: Set the correct mmio_base in intel_engines_init_mmio; updating the
base mmio values any later would cause incorrect reads in
i915_gem_sanitize (Michel).

Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Ceraolo Spurio, Daniele <daniele.ceraolospurio@intel.com>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180302161501.28594-2-mika.kuoppala@linux.intel.com
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_engine_cs.c