Commit d69d3636 authored by Jagmeet Randhawa's avatar Jagmeet Randhawa Committed by Matt Roper
Browse files

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: c01c6066 ("drm/xe/device: implement transient flush")
Signed-off-by: default avatarJagmeet Randhawa <jagmeet.randhawa@intel.com>
Reviewed-by: default avatarJonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Link: https://patch.msgid.link/0201b1d6ec64d3651fcbff1ea21026efa915126a.1765487866.git.jagmeet.randhawa@intel.com


Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
parent bd584081
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1057,7 +1057,7 @@ static void tdf_request_sync(struct xe_device *xe)
		 * transient and need to be flushed..
		 */
		if (xe_mmio_wait32(&gt->mmio, XE2_TDF_CTRL, TRANSIENT_FLUSH_REQUEST, 0,
				   150, NULL, false))
				   300, NULL, false))
			xe_gt_err_once(gt, "TD flush timeout\n");
	}
}