[PATCH v2 1/2] drm/i915/selftests: Do not overwrite error code after intel_context_migrate_clear() call
Andi Shyti
andi.shyti at linux.intel.com
Wed Jul 30 11:07:57 UTC 2025
Hi Krzysztof,
On Wed, Jul 30, 2025 at 07:39:23AM +0000, Krzysztof Karas wrote:
> Currently this function's error code is stored in err variable,
> which, if a i915_request is present, will be immediately
> overwritten by return from dma_resv_reserve_fences(). Call DMA
> functions only if intel_context_migrate_clear() succeeded.
>
> Suggested-by: Matthew Auld <matthew.auld at intel.com>
> Signed-off-by: Krzysztof Karas <krzysztof.karas at intel.com>
Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>
Andi
More information about the Intel-gfx
mailing list