summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_uc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/xe/xe_uc.c')
-rw-r--r--drivers/gpu/drm/xe/xe_uc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/xe/xe_uc.c b/drivers/gpu/drm/xe/xe_uc.c
index 70eabf567156..e244d27b55d5 100644
--- a/drivers/gpu/drm/xe/xe_uc.c
+++ b/drivers/gpu/drm/xe/xe_uc.c
@@ -201,14 +201,14 @@ int xe_uc_start(struct xe_uc *uc)
static void uc_reset_wait(struct xe_uc *uc)
{
- int ret;
+ int ret;
again:
- xe_guc_reset_wait(&uc->guc);
+ xe_guc_reset_wait(&uc->guc);
- ret = xe_uc_reset_prepare(uc);
- if (ret)
- goto again;
+ ret = xe_uc_reset_prepare(uc);
+ if (ret)
+ goto again;
}
int xe_uc_suspend(struct xe_uc *uc)