]> Gentwo Git Trees - linux/.git/commit
drm/xe: Disallow input fences on zero batch execs and zero binds
authorMatthew Brost <matthew.brost@intel.com>
Fri, 31 Oct 2025 23:40:49 +0000 (16:40 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 4 Nov 2025 16:21:14 +0000 (08:21 -0800)
commitaa87b681bc728ae2fb2b725733bcb129079985f4
tree28f9e98a356c8cb0525b09cb2c612b28cfda7405
parentebb0880d497356befb0ff4d36fb0e1d072701805
drm/xe: Disallow input fences on zero batch execs and zero binds

Prevent input fences from being installed on zero batch execs or zero
binds, which were originally added to support queue idling in Mesa via
output fences. Although input fence support was introduced for interface
consistency, it leads to incorrect behavior due to chained composite
fences, which are disallowed.

Avoid the complexity of fixing this by removing support, as input fences
for these cases are not used in practice.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patch.msgid.link/20251031234050.3043507-6-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_sync.c