OSDN Git Service

Merge tag 'for-5.8/io_uring-2020-06-01' of git://git.kernel.dk/linux-block
[tomoyo/tomoyo-test1.git] / include / drm / drm_encoder.h
index 4370e03..a60f5f1 100644 (file)
@@ -142,7 +142,7 @@ struct drm_encoder {
         * the bits for all &drm_crtc objects this encoder can be connected to
         * before calling drm_dev_register().
         *
-        * In reality almost every driver gets this wrong.
+        * You will get a WARN if you get this wrong in the driver.
         *
         * Note that since CRTC objects can't be hotplugged the assigned indices
         * are stable and hence known before registering all objects.
@@ -159,7 +159,11 @@ struct drm_encoder {
         * encoders can be used in a cloned configuration, they both should have
         * each another bits set.
         *
-        * In reality almost every driver gets this wrong.
+        * As an exception to the above rule if the driver doesn't implement
+        * any cloning it can leave @possible_clones set to 0. The core will
+        * automagically fix this up by setting the bit for the encoder itself.
+        *
+        * You will get a WARN if you get this wrong in the driver.
         *
         * Note that since encoder objects can't be hotplugged the assigned indices
         * are stable and hence known before registering all objects.