mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 10:02:20 -04:00
drm/xe: Move TLB invalidation reset before HW reset
This is a software reset which can be done immediately after stopping the UC. Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240122210156.1517444-3-matthew.brost@intel.com
This commit is contained in:
committed by
Rodrigo Vivi
parent
dc75d03716
commit
83a7173bac
@@ -638,12 +638,12 @@ static int gt_reset(struct xe_gt *gt)
|
||||
if (err)
|
||||
goto err_out;
|
||||
|
||||
xe_gt_tlb_invalidation_reset(gt);
|
||||
|
||||
err = do_gt_reset(gt);
|
||||
if (err)
|
||||
goto err_out;
|
||||
|
||||
xe_gt_tlb_invalidation_reset(gt);
|
||||
|
||||
err = do_gt_restart(gt);
|
||||
if (err)
|
||||
goto err_out;
|
||||
|
||||
Reference in New Issue
Block a user