Skip to content

Commit eafb6f6

Browse files
Jagmeet-intelThomas Hellström
authored andcommitted
drm/xe: Increase TDF timeout
There are some corner cases where flushing transient data may take slightly longer than the 150us timeout we currently allow. Update the driver to use a 300us timeout instead based on the latest guidance from the hardware team. An update to the bspec to formally document this is expected to arrive soon. Fixes: c01c606 ("drm/xe/device: implement transient flush") Signed-off-by: Jagmeet Randhawa <jagmeet.randhawa@intel.com> Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patch.msgid.link/0201b1d6ec64d3651fcbff1ea21026efa915126a.1765487866.git.jagmeet.randhawa@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com> (cherry picked from commit d69d363) Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
1 parent c770467 commit eafb6f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/xe/xe_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ static void tdf_request_sync(struct xe_device *xe)
10561056
* transient and need to be flushed..
10571057
*/
10581058
if (xe_mmio_wait32(&gt->mmio, XE2_TDF_CTRL, TRANSIENT_FLUSH_REQUEST, 0,
1059-
150, NULL, false))
1059+
300, NULL, false))
10601060
xe_gt_err_once(gt, "TD flush timeout\n");
10611061

10621062
xe_force_wake_put(gt_to_fw(gt), fw_ref);

0 commit comments

Comments
 (0)