From: Lyude Paul Date: Fri, 13 Sep 2019 22:27:02 +0000 (-0400) Subject: drm/encoder: Fix possible_crtcs documentation X-Git-Tag: v5.5-rc1~128^2~31^2~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c873724d88d9357e67de0d99dd8c58b4086bc59d;p=thirdparty%2Fkernel%2Flinux.git drm/encoder: Fix possible_crtcs documentation 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 Link: https://patchwork.freedesktop.org/patch/msgid/20190913222704.8241-3-lyude@redhat.com Reviewed-by: Daniel Vetter --- diff --git a/include/drm/drm_encoder.h b/include/drm/drm_encoder.h index 81273b50b3f65..d65173d413b73 100644 --- a/include/drm/drm_encoder.h +++ b/include/drm/drm_encoder.h @@ -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. *