summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_atomic.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2015-06-15 12:33:40 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-06-22 14:18:20 +0200
commit6d3a1ce7dc1a125a40d496e924e8e478560eb42f (patch)
tree30c1932510222a08625960b06cefe605e7a465ed /drivers/gpu/drm/i915/intel_atomic.c
parent133b0d128be39e308ccd3b3d765c31ebdbf5380e (diff)
drm/i915: Add a simple atomic crtc check function, v2.
Move the check for encoder cloning here. Changes since v1: - Remove was/is crtc_disabled. (mattrope) - Rename function to intel_crtc_atomic_check. (mattrope) Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Tested-by(IVB): Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_atomic.c')
-rw-r--r--drivers/gpu/drm/i915/intel_atomic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_atomic.c b/drivers/gpu/drm/i915/intel_atomic.c
index 041bff504629..6ab71ea92819 100644
--- a/drivers/gpu/drm/i915/intel_atomic.c
+++ b/drivers/gpu/drm/i915/intel_atomic.c
@@ -100,7 +100,10 @@ int intel_atomic_check(struct drm_device *dev,
if (ret)
return ret;
- /* FIXME: move to crtc atomic check function once it is ready */
+ /*
+ * FIXME: move to crtc atomic check function once this is
+ * more atomic friendly.
+ */
ret = intel_atomic_setup_scalers(dev, nuclear_crtc, crtc_state);
if (ret)
return ret;