|
@@ -4239,7 +4239,7 @@ i915_gem_ring_throttle(struct drm_device *dev, struct drm_file *file)
|
|
{
|
|
{
|
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
|
struct drm_i915_file_private *file_priv = file->driver_priv;
|
|
struct drm_i915_file_private *file_priv = file->driver_priv;
|
|
- unsigned long recent_enough = jiffies - msecs_to_jiffies(20);
|
|
|
|
|
|
+ unsigned long recent_enough = jiffies - DRM_I915_THROTTLE_JIFFIES;
|
|
struct drm_i915_gem_request *request, *target = NULL;
|
|
struct drm_i915_gem_request *request, *target = NULL;
|
|
unsigned reset_counter;
|
|
unsigned reset_counter;
|
|
int ret;
|
|
int ret;
|