summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-07-31 11:13:43 +0200
committerThierry Reding <treding@nvidia.com>2017-07-31 13:43:35 +0200
commit96bf51df6a90fc62de973ba7a9762d4150f26b94 (patch)
treed3ebf6bbd9898e46f023cde06c34158c6dc0ecb4 /include/drm
parentdrm/rockchip: vop: rk3328: fix overlay abnormal (diff)
downloadlinux-96bf51df6a90fc62de973ba7a9762d4150f26b94.tar.xz
linux-96bf51df6a90fc62de973ba7a9762d4150f26b94.zip
drm/atomic: Update comment to match the code
The kerneldoc for drm_atomic_crtc_needs_modeset() is outdated and no longer reflects the actual code. Fix that up to remove confusion. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170731091343.21363-1-thierry.reding@gmail.com
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
index 7cd0f303f5a3..a7adbf57b886 100644
--- a/include/drm/drm_atomic.h
+++ b/include/drm/drm_atomic.h
@@ -883,7 +883,7 @@ void drm_state_dump(struct drm_device *dev, struct drm_printer *p);
*
* To give drivers flexibility &struct drm_crtc_state has 3 booleans to track
* whether the state CRTC changed enough to need a full modeset cycle:
- * planes_changed, mode_changed and active_changed. This helper simply
+ * mode_changed, active_changed and connectors_changed. This helper simply
* combines these three to compute the overall need for a modeset for @state.
*
* The atomic helper code sets these booleans, but drivers can and should