drm/i915/guc: Enable DUAL_QUEUE_WA for newer platforms
authorJulia Filipchuk <julia.filipchuk@intel.com>
Fri, 2 May 2025 22:39:24 +0000 (15:39 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 8 May 2025 20:49:48 +0000 (13:49 -0700)
commitff868667a4f9c6e349f4a4f0dcc3ff60d6ea8a73
tree8f75b638064dc02145eb9cba81176f23ce0a0e1b
parentb2602a84ff85926be8d1fb7186128976c9f76c3f
drm/i915/guc: Enable DUAL_QUEUE_WA for newer platforms

For newer platforms (post DG2) hardware intentionally stalls on
submisstion of concurrent submissions on RCS and CCS of different
address spaces.  With this workaround GuC will never schedule such
conlicting contexts; preventing detection of a stall as a hang.

GuC specs recommend to enable this for all platforms starting from MTL
supporting CCS.

v2: Use existing macros for version check. (Jani)
v3: Reword explanation for clarity. Remove unneeded parens. Remove
    accidental comment change. (Daniele)

Signed-off-by: Julia Filipchuk <julia.filipchuk@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://lore.kernel.org/r/20250502223924.94628-1-julia.filipchuk@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc.c