]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/drm/drm_modeset_helper_vtables.h
x86/apic/msi: Plug non-maskable MSI affinity race
[mirror_ubuntu-bionic-kernel.git] / include / drm / drm_modeset_helper_vtables.h
index 16646c44b7df715c93a1e59cbc3aacc70c25d9c9..7b6fac91bd13fc13f916e05a36eb1932b729f12a 100644 (file)
@@ -1159,6 +1159,14 @@ struct drm_plane_helper_funcs {
         * current one with the new plane configurations in the new
         * plane_state.
         *
+        * Drivers should also swap the framebuffers between current plane
+        * state (&drm_plane.state) and new_state.
+        * This is required since cleanup for async commits is performed on
+        * the new state, rather than old state like for traditional commits.
+        * Since we want to give up the reference on the current (old) fb
+        * instead of our brand new one, swap them in the driver during the
+        * async commit.
+        *
         * FIXME:
         *  - It only works for single plane updates
         *  - Async Pageflips are not supported yet