DRM_PLANE_TYPE_CURSOR
if (plane->type != DRM_PLANE_TYPE_CURSOR)
if (plane->type == DRM_PLANE_TYPE_CURSOR &&
if (other->type == DRM_PLANE_TYPE_CURSOR)
if (plane->type == DRM_PLANE_TYPE_CURSOR && update_native_cursor) {
if (enable && ret == -EINVAL && plane->type == DRM_PLANE_TYPE_CURSOR) {
if (plane->type == DRM_PLANE_TYPE_CURSOR)
plane->type == DRM_PLANE_TYPE_CURSOR)
if (plane->type == DRM_PLANE_TYPE_CURSOR)
if (plane->type == DRM_PLANE_TYPE_CURSOR)
if (plane->type == DRM_PLANE_TYPE_CURSOR)
if (plane->type == DRM_PLANE_TYPE_CURSOR)
if (plane->type == DRM_PLANE_TYPE_CURSOR &&
if (plane->type == DRM_PLANE_TYPE_CURSOR)
cursor_plane->type = DRM_PLANE_TYPE_CURSOR;
if (state->plane->type != DRM_PLANE_TYPE_CURSOR) {
} else if (plane->type != DRM_PLANE_TYPE_CURSOR) {
if (plane->type == DRM_PLANE_TYPE_CURSOR)
} else if (plane->type == DRM_PLANE_TYPE_CURSOR) {
plane->type != DRM_PLANE_TYPE_CURSOR)
plane->type != DRM_PLANE_TYPE_CURSOR)
if (plane_type == DRM_PLANE_TYPE_CURSOR) {
(plane_cap && plane_cap->type == DC_PLANE_TYPE_DCN_UNIVERSAL && plane->type != DRM_PLANE_TYPE_CURSOR)) {
case DRM_PLANE_TYPE_CURSOR:
if (plane->type != DRM_PLANE_TYPE_CURSOR)
NULL, DRM_PLANE_TYPE_CURSOR);
type = DRM_PLANE_TYPE_CURSOR;
if (plane->type != DRM_PLANE_TYPE_CURSOR) {
if (plane->type != DRM_PLANE_TYPE_CURSOR) {
WARN_ON(cursor && cursor->type != DRM_PLANE_TYPE_CURSOR);
{ DRM_PLANE_TYPE_CURSOR, "Cursor" },
if (drm_WARN_ON(dev, plane->type != DRM_PLANE_TYPE_CURSOR))
type == DRM_PLANE_TYPE_CURSOR) {
if (plane->type == DRM_PLANE_TYPE_CURSOR &&
[CURSON_WIN] = DRM_PLANE_TYPE_CURSOR,
DRM_PLANE_TYPE_CURSOR,
DRM_PLANE_TYPE_CURSOR,
DRM_PLANE_TYPE_CURSOR,
.type = DRM_PLANE_TYPE_CURSOR,
else if (plane->base.type == DRM_PLANE_TYPE_CURSOR)
DRM_PLANE_TYPE_CURSOR,
case DRM_PLANE_TYPE_CURSOR:
} else if (plane_id == DRM_PLANE_TYPE_CURSOR) {
if (plane->type != DRM_PLANE_TYPE_CURSOR)
if (plane->type != DRM_PLANE_TYPE_CURSOR)
DRM_PLANE_TYPE_CURSOR,
DRM_PLANE_TYPE_CURSOR,
else if (mtk_crtc->planes[i].type == DRM_PLANE_TYPE_CURSOR)
return DRM_PLANE_TYPE_CURSOR;
type = DRM_PLANE_TYPE_CURSOR;
if (type == DRM_PLANE_TYPE_CURSOR)
if (plane->type == DRM_PLANE_TYPE_CURSOR)
(pstates[cnt - 1].plane->type != DRM_PLANE_TYPE_CURSOR));
type = DRM_PLANE_TYPE_CURSOR;
if (type == DRM_PLANE_TYPE_CURSOR)
plane->type != DRM_PLANE_TYPE_CURSOR)
if (plane->type == DRM_PLANE_TYPE_CURSOR)
ret = nv50_wndw_new_(&curs507a_wndw, drm->dev, DRM_PLANE_TYPE_CURSOR,
if (type == DRM_PLANE_TYPE_CURSOR)
cursor = qxl_create_plane(qdev, 1 << crtc_id, DRM_PLANE_TYPE_CURSOR);
if (plane->type == DRM_PLANE_TYPE_CURSOR &&
} else if (type == DRM_PLANE_TYPE_CURSOR) {
win_data->type != DRM_PLANE_TYPE_CURSOR)
else if (plane->type == DRM_PLANE_TYPE_CURSOR)
.type = DRM_PLANE_TYPE_CURSOR },
.type = DRM_PLANE_TYPE_CURSOR},
.type = DRM_PLANE_TYPE_CURSOR },
.type = DRM_PLANE_TYPE_CURSOR },
.type = DRM_PLANE_TYPE_CURSOR },
.type = DRM_PLANE_TYPE_CURSOR },
.type = DRM_PLANE_TYPE_CURSOR },
.type = DRM_PLANE_TYPE_CURSOR },
.type = DRM_PLANE_TYPE_CURSOR },
.type = DRM_PLANE_TYPE_CURSOR },
.type = DRM_PLANE_TYPE_CURSOR },
NULL, DRM_PLANE_TYPE_CURSOR, NULL);
sti_plane_init_property(&cursor->plane, DRM_PLANE_TYPE_CURSOR);
case DRM_PLANE_TYPE_CURSOR:
case DRM_PLANE_TYPE_CURSOR:
case DRM_PLANE_TYPE_CURSOR:
DRM_PLANE_TYPE_CURSOR, NULL);
type = DRM_PLANE_TYPE_CURSOR;
if (state->plane->type != DRM_PLANE_TYPE_CURSOR)
} else if (type == DRM_PLANE_TYPE_CURSOR) {
cursor = vbox_create_plane(vbox, 1 << i, DRM_PLANE_TYPE_CURSOR);
cursor_plane = vc4_plane_init(drm, DRM_PLANE_TYPE_CURSOR,
cursor = virtio_gpu_plane_init(vgdev, DRM_PLANE_TYPE_CURSOR, index);
bool is_cursor = plane->type == DRM_PLANE_TYPE_CURSOR;
if (type == DRM_PLANE_TYPE_CURSOR) {
case DRM_PLANE_TYPE_CURSOR:
vkms_config_plane_set_type(plane_cfg, DRM_PLANE_TYPE_CURSOR);
vkms_config_plane_set_type(plane_cfg, DRM_PLANE_TYPE_CURSOR);
vkms_config_plane_set_type(cursor_cfg, DRM_PLANE_TYPE_CURSOR);
} else if (type == DRM_PLANE_TYPE_CURSOR) {
return vkms_config_crtc_get_plane(config, crtc_cfg, DRM_PLANE_TYPE_CURSOR);
vkms_config_plane_set_type(plane_cfg, DRM_PLANE_TYPE_CURSOR);
type != DRM_PLANE_TYPE_CURSOR)
NULL, DRM_PLANE_TYPE_CURSOR, NULL);
NULL, DRM_PLANE_TYPE_CURSOR, NULL);
NULL, DRM_PLANE_TYPE_CURSOR, NULL);