Lines Matching defs:plane
469 static int qxl_primary_atomic_check(struct drm_plane *plane,
473 plane);
474 struct qxl_device *qdev = to_qxl(plane->dev);
638 static void qxl_primary_atomic_update(struct drm_plane *plane,
642 plane);
643 struct qxl_device *qdev = to_qxl(plane->dev);
660 qxl_primary_apply_cursor(qdev, plane->state);
671 static void qxl_primary_atomic_disable(struct drm_plane *plane,
675 plane);
676 struct qxl_device *qdev = to_qxl(plane->dev);
688 static void qxl_cursor_atomic_update(struct drm_plane *plane,
692 plane);
694 plane);
695 struct qxl_device *qdev = to_qxl(plane->dev);
705 static void qxl_cursor_atomic_disable(struct drm_plane *plane,
709 plane);
710 struct qxl_device *qdev = to_qxl(plane->dev);
829 static int qxl_plane_prepare_fb(struct drm_plane *plane,
832 struct qxl_device *qdev = to_qxl(plane->dev);
843 if (plane->type == DRM_PLANE_TYPE_PRIMARY &&
848 if (plane->type == DRM_PLANE_TYPE_CURSOR &&
849 plane->state->fb != new_state->fb) {
863 return drm_gem_plane_helper_prepare_fb(plane, new_state);
866 static void qxl_plane_cleanup_fb(struct drm_plane *plane,
884 if (old_state->fb != plane->state->fb && user_bo->shadow) {
938 struct drm_plane *plane;
958 plane = kzalloc(sizeof(*plane), GFP_KERNEL);
959 if (!plane)
962 err = drm_universal_plane_init(&qdev->ddev, plane, possible_crtcs,
968 drm_plane_helper_add(plane, helper_funcs);
970 return plane;
973 kfree(plane);