Lines Matching defs:cursor
843 /* scaling not supported for cursor */
892 WARN(1, "cursor size %ux%u not supported\n",
905 /* enable cursor and set blend mode */
919 /* position the cursor */
969 * This index is kind of fake. The cursor isn't a regular plane, but
973 * need to special-casing the cursor plane.
1075 bool cursor)
1095 if (!cursor)
2037 struct drm_plane *cursor = NULL;
2078 cursor = tegra_dc_cursor_plane_create(drm, dc);
2079 if (IS_ERR(cursor)) {
2080 err = PTR_ERR(cursor);
2084 /* dedicate one overlay to mouse cursor */
2085 cursor = tegra_dc_overlay_plane_create(drm, dc, 2, true);
2086 if (IS_ERR(cursor)) {
2087 err = PTR_ERR(cursor);
2092 err = drm_crtc_init_with_planes(drm, &dc->base, primary, cursor,
2129 if (!IS_ERR_OR_NULL(cursor))
2130 drm_plane_cleanup(cursor);