Skip to content

Commit d93f8c4

Browse files
committed
drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1
JIRA: https://issues.redhat.com/browse/RHEL-75958 commit e77c33da2b9ee24a3f3956b7ee7cb24478e147ea Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Mon May 12 21:22:15 2025 +0200 drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1 [ Upstream commit 25eeba4 ] The intel-media-driver is currently broken on DG1 because it uses EXEC_CAPTURE with recovarable contexts. Relax the check to allow that. I've also submitted a fix for the intel-media-driver: intel/media-driver#1920 Cc: stable@vger.kernel.org # v6.0+ Cc: Matthew Auld <matthew.auld@intel.com> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> Testcase: igt/gem_exec_capture/capture-invisible Fixes: 71b1669 ("drm/i915/uapi: tweak error capture on recoverable contexts") Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20250411144313.11660-2-ville.syrjala@linux.intel.com (cherry picked from commit d6e0208) Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Stable-dep-of: ed5915c ("Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1"") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: José Expósito <jexposit@redhat.com>
1 parent 3d48976 commit d93f8c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2014,7 +2014,7 @@ static int eb_capture_stage(struct i915_execbuffer *eb)
20142014
continue;
20152015

20162016
if (i915_gem_context_is_recoverable(eb->gem_context) &&
2017-
(IS_DGFX(eb->i915) || GRAPHICS_VER_FULL(eb->i915) > IP_VER(12, 0)))
2017+
GRAPHICS_VER_FULL(eb->i915) > IP_VER(12, 10))
20182018
return -EINVAL;
20192019

20202020
for_each_batch_create_order(eb, j) {

0 commit comments

Comments
 (0)