Lines Matching refs:drm_plane

213 	struct drm_plane *drm_plane = &gdp->plane.drm_plane;  in gdp_dbg_show()  local
216 drm_modeset_lock(&drm_plane->mutex, NULL); in gdp_dbg_show()
217 crtc = drm_plane->state->crtc; in gdp_dbg_show()
218 drm_modeset_unlock(&drm_plane->mutex); in gdp_dbg_show()
612 static int sti_gdp_atomic_check(struct drm_plane *drm_plane, in sti_gdp_atomic_check() argument
615 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_check()
683 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_check()
692 static void sti_gdp_atomic_update(struct drm_plane *drm_plane, in sti_gdp_atomic_update() argument
695 struct drm_plane_state *state = drm_plane->state; in sti_gdp_atomic_update()
696 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_update()
857 static void sti_gdp_atomic_disable(struct drm_plane *drm_plane, in sti_gdp_atomic_disable() argument
860 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_disable()
864 drm_plane->base.id); in sti_gdp_atomic_disable()
871 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_disable()
882 static void sti_gdp_destroy(struct drm_plane *drm_plane) in sti_gdp_destroy() argument
886 drm_plane_helper_disable(drm_plane, NULL); in sti_gdp_destroy()
887 drm_plane_cleanup(drm_plane); in sti_gdp_destroy()
890 static int sti_gdp_late_register(struct drm_plane *drm_plane) in sti_gdp_late_register() argument
892 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_late_register()
895 return gdp_debugfs_init(gdp, drm_plane->dev->primary); in sti_gdp_late_register()
908 struct drm_plane *sti_gdp_create(struct drm_device *drm_dev, in sti_gdp_create()
932 res = drm_universal_plane_init(drm_dev, &gdp->plane.drm_plane, in sti_gdp_create()
943 drm_plane_helper_add(&gdp->plane.drm_plane, &sti_gdp_helpers_funcs); in sti_gdp_create()
947 return &gdp->plane.drm_plane; in sti_gdp_create()