Hi,

On 2024/3/20 17:34, Thomas Zimmermann wrote:



+
+/**
+ * devm_drm_kms_helper_poll_init - initialize and enable output polling

Should be drmm_kms_helper_poll_init() here.

+ * @dev: drm_device
+ *
+ * This function initializes and then also enables output polling support for
+ * @dev similar to drm_kms_helper_poll_init(). Polling will automatically be
+ * cleaned up when the DRM device goes away.
+ *
+ * See drm_kms_helper_poll_init() for more information.
+ *
+ * Returns:
+ * 0 on success, or a negative errno code otherwise.
+ */
+int drmm_kms_helper_poll_init(struct drm_device *dev)
+{
+       drm_kms_helper_poll_init(dev);
+
+       return drmm_add_action_or_reset(dev, drm_kms_helper_poll_init_release, 
dev);
+}
+EXPORT_SYMBOL(drmm_kms_helper_poll_init);

--
Best regards,
Sui

Reply via email to