Message ID | 1355329008-31459-60-git-send-email-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/i915/intel_atomic.c b/drivers/gpu/drm/i915/intel_atomic.c index bfc0563..a119896 100644 --- a/drivers/gpu/drm/i915/intel_atomic.c +++ b/drivers/gpu/drm/i915/intel_atomic.c @@ -1641,13 +1641,15 @@ static int intel_atomic_commit(struct drm_device *dev, void *state) struct intel_atomic_state *s = state; int ret; - if (!s->dirty) - return 0; - ret = alloc_flip_data(dev, s); if (ret) return ret; + if (!s->dirty) { + queue_remaining_events(dev, s); + return 0; + } + ret = pin_fbs(dev, s); if (ret) return ret;