|
@@ -83,6 +83,14 @@ void i915_update_dri1_breadcrumb(struct drm_device *dev)
|
|
|
drm_i915_private_t *dev_priv = dev->dev_private;
|
|
|
struct drm_i915_master_private *master_priv;
|
|
|
|
|
|
+ /*
|
|
|
+ * The dri breadcrumb update races against the drm master disappearing.
|
|
|
+ * Instead of trying to fix this (this is by far not the only ums issue)
|
|
|
+ * just don't do the update in kms mode.
|
|
|
+ */
|
|
|
+ if (drm_core_check_feature(dev, DRIVER_MODESET))
|
|
|
+ return;
|
|
|
+
|
|
|
if (dev->primary->master) {
|
|
|
master_priv = dev->primary->master->driver_priv;
|
|
|
if (master_priv->sarea_priv)
|