]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/encoder: Fix possible_crtcs documentation
authorLyude Paul <lyude@redhat.com>
Fri, 13 Sep 2019 22:27:02 +0000 (18:27 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 17 Sep 2019 17:58:17 +0000 (13:58 -0400)
Similar to possible_clones, we don't actually use possible_crtcs until
the driver is registered with userspace. So, fix the documentation to
indicate this.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190913222704.8241-3-lyude@redhat.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drm_encoder.h

index 81273b50b3f65215cbb8bec8f0be80520cfef346..d65173d413b736c435686bc97641a514fb2c5e6a 100644 (file)
@@ -140,7 +140,7 @@ struct drm_encoder {
         * @possible_crtcs: Bitmask of potential CRTC bindings, using
         * drm_crtc_index() as the index into the bitfield. The driver must set
         * the bits for all &drm_crtc objects this encoder can be connected to
-        * before calling drm_encoder_init().
+        * before calling drm_dev_register().
         *
         * In reality almost every driver gets this wrong.
         *