diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-03-31 14:21:34 -0400 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-12 14:05:59 -0500 |
commit | 7aaec3a623adda324f2435153a105088a8556b9a (patch) | |
tree | f5c5dcdedd15f236bbe8672b0933f16baac570aa /drivers/gpu/drm/xe/xe_huc.c | |
parent | 86011ae21c15a779dcf25b97d5670371dc14e4c3 (diff) |
drm/xe: Let's return last value read on xe_mmio_wait32.
This is already useful because it avoids some extra reads
where registers might have changed after the timeout decision.
But also, it will be important to end the kill of i915's wait_for.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_huc.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_huc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_huc.c b/drivers/gpu/drm/xe/xe_huc.c index 93b22fac6e14..c8c93bdf4760 100644 --- a/drivers/gpu/drm/xe/xe_huc.c +++ b/drivers/gpu/drm/xe/xe_huc.c @@ -85,7 +85,7 @@ int xe_huc_auth(struct xe_huc *huc) ret = xe_mmio_wait32(gt, GEN11_HUC_KERNEL_LOAD_INFO.reg, HUC_LOAD_SUCCESSFUL, - HUC_LOAD_SUCCESSFUL, 100); + HUC_LOAD_SUCCESSFUL, 100, NULL); if (ret) { drm_err(&xe->drm, "HuC: Firmware not verified %d\n", ret); goto fail; |