]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gen12: Use fuse info to enable SFC
authorVenkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Wed, 21 Jul 2021 22:30:31 +0000 (15:30 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 22 Jul 2021 16:36:59 +0000 (09:36 -0700)
commit79f9e5d2f1c29c609748f6fa390bb24a3d2b32b6
tree08ce6b32d5f2bddf74744c5661b38d5d2cb16e67
parentff5a6be4fe588e0e729cd4cb9d861808186d3029
drm/i915/gen12: Use fuse info to enable SFC

In Gen12 there are various fuse combinations and in each configuration
vdbox engine may be connected to SFC depending on which engines are
available, so we need to set the SFC capability based on fuse value from
the hardware. Even numbered physical instance always have SFC, odd
numbered physical instances have SFC only if previous even instance is
fused off.

v2:
 - Minor style & typo fixes (Tvrtko)
 - Drop an unwanted 'inline' (Tvrtko)

Bspec: 48028
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-7-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c