Lines Matching refs:drm_plane
219 struct drm_plane *drm_plane = &gdp->plane.drm_plane; in gdp_dbg_show() local
222 drm_modeset_lock(&drm_plane->mutex, NULL); in gdp_dbg_show()
223 crtc = drm_plane->state->crtc; in gdp_dbg_show()
224 drm_modeset_unlock(&drm_plane->mutex); in gdp_dbg_show()
619 static int sti_gdp_atomic_check(struct drm_plane *drm_plane, in sti_gdp_atomic_check() argument
623 drm_plane); in sti_gdp_atomic_check()
624 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_check()
694 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_check()
703 static void sti_gdp_atomic_update(struct drm_plane *drm_plane, in sti_gdp_atomic_update() argument
707 drm_plane); in sti_gdp_atomic_update()
709 drm_plane); in sti_gdp_atomic_update()
710 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_update()
871 static void sti_gdp_atomic_disable(struct drm_plane *drm_plane, in sti_gdp_atomic_disable() argument
875 drm_plane); in sti_gdp_atomic_disable()
876 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_disable()
880 drm_plane->base.id); in sti_gdp_atomic_disable()
887 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_disable()
898 static int sti_gdp_late_register(struct drm_plane *drm_plane) in sti_gdp_late_register() argument
900 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_late_register()
903 return gdp_debugfs_init(gdp, drm_plane->dev->primary); in sti_gdp_late_register()
916 struct drm_plane *sti_gdp_create(struct drm_device *drm_dev, in sti_gdp_create()
940 res = drm_universal_plane_init(drm_dev, &gdp->plane.drm_plane, in sti_gdp_create()
951 drm_plane_helper_add(&gdp->plane.drm_plane, &sti_gdp_helpers_funcs); in sti_gdp_create()
955 return &gdp->plane.drm_plane; in sti_gdp_create()