drm/i915/tgl: Report valid VDBoxes with SFC capability
authorMichel Thierry <michel.thierry@intel.com>
Wed, 31 Jul 2019 00:49:02 +0000 (17:49 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Aug 2019 13:23:45 +0000 (14:23 +0100)
commit7a7fb9578c6cea455334b6ade422d3d29d6c38f3
tree5092c25d1397d8ed8ff859262ee0ae7a591ba68c
parent5e022c2ddfc17dbb2c2a2d6129da61638ddc361a
drm/i915/tgl: Report valid VDBoxes with SFC capability

In Gen11, only even numbered "logical" VDBoxes are hooked up to a SFC
(Scaler & Format Converter) unit. This is not the case in Tigerlake,
where each VDBox can access a SFC.

We will use this information to decide when the SFC units need to be reset
and also pass it to the GuC.

Bspec: 48077
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190731004902.34672-5-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/intel_device_info.c