]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: Enable support for nonblocking modeset
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 8 Nov 2016 12:55:42 +0000 (13:55 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 18 Nov 2016 13:09:27 +0000 (14:09 +0100)
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1478609742-13603-12-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> #irc
drivers/gpu/drm/i915/intel_display.c

index 0c8c8e5d4bd99477b7863f3e5cec6b26dfd34fe8..3bd0e6765fcaeedb6a6595e5e88676c5dd437e33 100644 (file)
@@ -14548,10 +14548,6 @@ static void intel_atomic_track_fbs(struct drm_atomic_state *state)
  * This function commits a top-level state object that has been validated
  * with drm_atomic_helper_check().
  *
- * FIXME:  Atomic modeset support for i915 is not yet complete.  At the moment
- * nonblocking commits are only safe for pure plane updates. Everything else
- * should work though.
- *
  * RETURNS
  * Zero for success or -errno.
  */
@@ -14563,11 +14559,6 @@ static int intel_atomic_commit(struct drm_device *dev,
        struct drm_i915_private *dev_priv = to_i915(dev);
        int ret = 0;
 
-       if (intel_state->modeset && nonblock) {
-               DRM_DEBUG_KMS("nonblocking commit for modeset not yet implemented.\n");
-               return -EINVAL;
-       }
-
        ret = drm_atomic_helper_setup_commit(state, nonblock);
        if (ret)
                return ret;