mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1"
This reverts commitd6e0208196. The IS_DGFX check was put in place because error capture of buffer objects is expected to be broken on devices with VRAM. Userspace fix[1] to the impacted media driver has been submitted, merged and a new driver release is out as 25.2.3 where the capture flag is dropped on DG1 thus unblocking the usage of media driver on DG1. [1]93c07d9b4bCc: stable@vger.kernel.org # v6.0+ Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Andi Shyti <andi.shyti@linux.intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> Cc: Tvrtko Ursulin <tursulin@ursulin.net> Acked-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://lore.kernel.org/r/20250522064127.24293-1-joonas.lahtinen@linux.intel.com [Joonas: Update message to point out the merged userspace fix] Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> (cherry picked from commitd2dc30e0aa) Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
This commit is contained in:
parent
25eeba495b
commit
ed5915cfce
|
|
@ -2013,7 +2013,7 @@ static int eb_capture_stage(struct i915_execbuffer *eb)
|
|||
continue;
|
||||
|
||||
if (i915_gem_context_is_recoverable(eb->gem_context) &&
|
||||
GRAPHICS_VER_FULL(eb->i915) > IP_VER(12, 10))
|
||||
(IS_DGFX(eb->i915) || GRAPHICS_VER_FULL(eb->i915) > IP_VER(12, 0)))
|
||||
return -EINVAL;
|
||||
|
||||
for_each_batch_create_order(eb, j) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user