Lines Matching refs:drm_plane
217 struct drm_plane *drm_plane = &gdp->plane.drm_plane; in gdp_dbg_show() local
220 drm_modeset_lock(&drm_plane->mutex, NULL); in gdp_dbg_show()
221 crtc = drm_plane->state->crtc; in gdp_dbg_show()
222 drm_modeset_unlock(&drm_plane->mutex); in gdp_dbg_show()
617 static int sti_gdp_atomic_check(struct drm_plane *drm_plane, in sti_gdp_atomic_check() argument
621 drm_plane); in sti_gdp_atomic_check()
622 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_check()
692 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_check()
701 static void sti_gdp_atomic_update(struct drm_plane *drm_plane, in sti_gdp_atomic_update() argument
705 drm_plane); in sti_gdp_atomic_update()
707 drm_plane); in sti_gdp_atomic_update()
708 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_update()
869 static void sti_gdp_atomic_disable(struct drm_plane *drm_plane, in sti_gdp_atomic_disable() argument
873 drm_plane); in sti_gdp_atomic_disable()
874 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_disable()
878 drm_plane->base.id); in sti_gdp_atomic_disable()
885 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_disable()
896 static int sti_gdp_late_register(struct drm_plane *drm_plane) in sti_gdp_late_register() argument
898 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_late_register()
901 return gdp_debugfs_init(gdp, drm_plane->dev->primary); in sti_gdp_late_register()
914 struct drm_plane *sti_gdp_create(struct drm_device *drm_dev, in sti_gdp_create()
938 res = drm_universal_plane_init(drm_dev, &gdp->plane.drm_plane, in sti_gdp_create()
949 drm_plane_helper_add(&gdp->plane.drm_plane, &sti_gdp_helpers_funcs); in sti_gdp_create()
953 return &gdp->plane.drm_plane; in sti_gdp_create()