For the planes supporting async flip create the plane property for
enabling async flip.

Signed-off-by: Arun R Murthy <[email protected]>
---
 drivers/gpu/drm/drm_plane.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/drm_plane.c b/drivers/gpu/drm/drm_plane.c
index 
ca51c87267662c11cee5f28276b2b941e1a87973..dd457cf37e0977298e026b014414c59764432032
 100644
--- a/drivers/gpu/drm/drm_plane.c
+++ b/drivers/gpu/drm/drm_plane.c
@@ -498,6 +498,8 @@ static int __drm_universal_plane_init(struct drm_device 
*dev,
                                                   blob->base.id);
        }
 
+       if (dev->mode_config.async_page_flip)
+               drm_plane_create_async_flip_property(plane);
 
        return 0;
 }

-- 
2.25.1

Reply via email to