]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/guc: Increase wait timeout to 2sec after BUSY reply from GuC
authorSatyanarayana K V P <satyanarayana.k.v.p@intel.com>
Wed, 8 Oct 2025 21:45:32 +0000 (14:45 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 9 Oct 2025 10:24:28 +0000 (03:24 -0700)
Some VF2GUC actions may take longer to process. Increase default timeout
after received BUSY indication to 2sec to cover all worst case scenarios.

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20251008214532.3442967-35-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc.c

index d5adbbb013ec4db38ef7bd1e2af2adb57d09dfd4..d94490979adc007db3a668eca7b2c4a16dfe7d59 100644 (file)
@@ -1439,7 +1439,7 @@ timeout:
                BUILD_BUG_ON((GUC_HXG_TYPE_RESPONSE_SUCCESS ^ GUC_HXG_TYPE_RESPONSE_FAILURE) != 1);
 
                ret = xe_mmio_wait32(mmio, reply_reg, resp_mask, resp_mask,
-                                    1000000, &header, false);
+                                    2000000, &header, false);
 
                if (unlikely(FIELD_GET(GUC_HXG_MSG_0_ORIGIN, header) !=
                             GUC_HXG_ORIGIN_GUC))