drm/i915/icl: Record the valid VDBoxes with SFC capability
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 13 Dec 2018 09:15:21 +0000 (09:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 13 Dec 2018 10:07:55 +0000 (10:07 +0000)
commit57b19d55189bacc9408519cd7ab5ade6ca2d4ac5
tree0609aaf1f78760a82ea97537ce364188972e2281
parent921f3a60e54e751ce1393deef6218c5900558b3d
drm/i915/icl: Record the valid VDBoxes with SFC capability

In Gen11, only even numbered "logical" VDBoxes are hooked up to an SFC
(Scaler & Format Converter) unit. We will use this information to decide
when the SFC units need to be reset.

BSpec: 20189

Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181213091522.2926-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_device_info.c
drivers/gpu/drm/i915/intel_device_info.h