Skip to content
Snippets Groups Projects
Unverified Commit 51c1b42a authored by Andi Shyti's avatar Andi Shyti Committed by Rodrigo Vivi
Browse files

drm/i915/gt: Automate CCS Mode setting during engine resets


We missed setting the CCS mode during resume and engine resets.
Create a workaround to be added in the engine's workaround list.
This workaround sets the XEHP_CCS_MODE value at every reset.

The issue can be reproduced by running:

  $ clpeak --kernel-latency

Without resetting the CCS mode, we encounter a fence timeout:

  Fence expiration time out i915-0000:03:00.0:clpeak[2387]:2!

Fixes: 6db31251 ("drm/i915/gt: Enable only one CCS for compute workload")
Reported-by: default avatarGnattu OC <gnattuoc@me.com>
Closes: drm/i915/kernel#10895


Signed-off-by: default avatarAndi Shyti <andi.shyti@linux.intel.com>
Cc: Chris Wilson <chris.p.wilson@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: <stable@vger.kernel.org> # v6.2+
Tested-by: default avatarGnattu OC <gnattuoc@me.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Tested-by: default avatarKrzysztof Gibala <krzysztof.gibala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240426000723.229296-1-andi.shyti@linux.intel.com


(cherry picked from commit 4cfca03f)
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent dd5a440a
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment