]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - include/drm/drm_client.h
drm/fbdev-helper: don't force restores
[mirror_ubuntu-jammy-kernel.git] / include / drm / drm_client.h
index 5cf2c5dd8b1e63d19a52f61fd8393133f73af25b..d01d311023accd841ef94c9cdcaf8262152e1d05 100644 (file)
@@ -44,6 +44,11 @@ struct drm_client_funcs {
         * returns zero gets the privilege to restore and no more clients are
         * called. This callback is not called after @unregister has been called.
         *
+        * Note that the core does not guarantee exclusion against concurrent
+        * drm_open(). Clients need to ensure this themselves, for example by
+        * using drm_master_internal_acquire() and
+        * drm_master_internal_release().
+        *
         * This callback is optional.
         */
        int (*restore)(struct drm_client_dev *client);