]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Disable timestamp WA on VFs
authorMatthew Brost <matthew.brost@intel.com>
Sat, 10 Jan 2026 01:27:38 +0000 (17:27 -0800)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Sun, 18 Jan 2026 15:54:01 +0000 (16:54 +0100)
commitb886aa65eafe3098bbd691f0ca4a9abce03f9d03
tree9b77be797720fa143edf98a9fbcf77aab6857aa7
parent47bf28e22a121b807a9a9680c4209846a78a98a6
drm/xe: Disable timestamp WA on VFs

The timestamp WA does not work on a VF because it requires reading MMIO
registers, which are inaccessible on a VF. This timestamp WA confuses
LRC sampling on a VF during TDR, as the LRC timestamp would always read
as 1 for any active context. Disable the timestamp WA on VFs to avoid
this confusion.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Fixes: 617d824c5323 ("drm/xe: Add WA BB to capture active context utilization")
Link: https://patch.msgid.link/20260110012739.2888434-7-matthew.brost@intel.com
(cherry picked from commit efffd56e4bd894e0935eea00e437f233b6cebc0d)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_lrc.c