drm/encoder: Fix possible_clones documentation
authorLyude Paul <lyude@redhat.com>
Fri, 13 Sep 2019 22:27:01 +0000 (18:27 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 17 Sep 2019 17:58:17 +0000 (13:58 -0400)
commit8c8ae2fe8d213729e414139a1d45ecb3b52de84a
treeab54ea92a92d68df5b1df50f0dd54b8f142cd66f
parent185926ef38c8391c77e137d79cac112f27294c06
drm/encoder: Fix possible_clones documentation

We say that all of the bits in possible_clones must be set before
calling drm_encoder_init(). This isn't true though, since:

* The driver may not even have all of the encoder objects that could be
  used as clones initialized at that point
* possible_crtcs isn't used at all outside of userspace, so it's not
  actually needed to initialize it until drm_dev_register()

So, fix it.

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