aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-02-21 09:43:56 -0500
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-22 10:56:25 -0500
commitce453d81cb0397aa7d5148984f51907e14072d74 (patch)
tree28545a19bf61f047671d17c96d33643a83f3c43c /drivers/gpu/drm/i915/intel_drv.h
parent8408c282f0cf34ee166df5f842f2861d245407fd (diff)
drm/i915: Use a device flag for non-interruptible phases
The code paths for modesetting are growing in complexity as we may need to move the buffers around in order to fit the scanout in the aperture. Therefore we face a choice as to whether to thread the interruptible status through the entire pinning and unbinding code paths or to add a flag to the device when we may not be interrupted by a signal. This does the latter and so fixes a few instances of modesetting failures under stress. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index aae4806203db..08cd27d2c132 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -329,8 +329,7 @@ extern void intel_finish_page_flip_plane(struct drm_device *dev, int plane);
329 329
330extern void intel_setup_overlay(struct drm_device *dev); 330extern void intel_setup_overlay(struct drm_device *dev);
331extern void intel_cleanup_overlay(struct drm_device *dev); 331extern void intel_cleanup_overlay(struct drm_device *dev);
332extern int intel_overlay_switch_off(struct intel_overlay *overlay, 332extern int intel_overlay_switch_off(struct intel_overlay *overlay);
333 bool interruptible);
334extern int intel_overlay_put_image(struct drm_device *dev, void *data, 333extern int intel_overlay_put_image(struct drm_device *dev, void *data,
335 struct drm_file *file_priv); 334 struct drm_file *file_priv);
336extern int intel_overlay_attrs(struct drm_device *dev, void *data, 335extern int intel_overlay_attrs(struct drm_device *dev, void *data,