Lines Matching defs:base

38 	container_of(x, struct vmw_screen_target_display_unit, base.crtc)
40 container_of(x, struct vmw_screen_target_display_unit, base.encoder)
42 container_of(x, struct vmw_screen_target_display_unit, base.connector)
55 * @base: The base type we derive from. Used by vmw_kms_helper_dirty().
68 struct vmw_kms_dirty base;
105 * @base: VMW specific DU structure
118 struct vmw_display_unit base;
181 cmd->body.stid = stdu->base.unit;
189 stdu->base.set_gui_x = cmd->body.xRoot;
190 stdu->base.set_gui_y = cmd->body.yRoot;
240 cmd->body.stid = stdu->base.unit;
301 vmw_stdu_populate_update(cmd, stdu->base.unit,
340 cmd->body.stid = stdu->base.unit;
375 conn_state = stdu->base.connector.state;
457 container_of(dirty, struct vmw_stdu_dirty, base);
488 container_of(dirty, struct vmw_stdu_dirty, base);
490 container_of(dirty->unit, typeof(*stdu), base);
553 container_of(vfb, struct vmw_framebuffer_bo, base)->buffer;
579 ddirty.pitch = vfb->base.pitches[0];
582 ddirty.base.fifo_commit = vmw_stdu_bo_cpu_commit;
583 ddirty.base.clip = vmw_stdu_bo_cpu_clip;
584 ddirty.base.fifo_reserve_size = 0;
586 ddirty.base.crtc = crtc;
589 0, 0, num_clips, increment, &ddirty.base);
611 container_of(dirty, struct vmw_stdu_dirty, base);
614 container_of(dirty->unit, typeof(*stdu), base);
650 container_of(dirty, struct vmw_stdu_dirty, base);
652 container_of(dirty->unit, typeof(*stdu), base);
678 vmw_stdu_populate_update(update, stdu->base.unit, sdirty->left,
721 container_of(framebuffer, typeof(*vfbs), base);
744 sdirty.base.fifo_commit = vmw_kms_stdu_surface_fifo_commit;
745 sdirty.base.clip = vmw_kms_stdu_surface_clip;
746 sdirty.base.fifo_reserve_size = sizeof(struct vmw_stdu_surface_copy) +
749 sdirty.base.crtc = crtc;
756 &sdirty.base);
1038 container_of(update, typeof(*bo_update), base);
1051 container_of(update, typeof(*bo_update), base);
1074 bo_update = container_of(update, typeof(*bo_update), base);
1075 stdu = container_of(update->du, typeof(*stdu), base);
1076 vfbbo = container_of(update->vfb, typeof(*vfbbo), base);
1088 src_pitch = update->vfb->base.pitches[0];
1113 vmw_stdu_populate_update(cmd_update, stdu->base.unit,
1144 bo_update.base.plane = plane;
1145 bo_update.base.old_state = old_state;
1146 bo_update.base.dev_priv = dev_priv;
1147 bo_update.base.du = vmw_crtc_to_du(plane->state->crtc);
1148 bo_update.base.vfb = vfb;
1149 bo_update.base.out_fence = out_fence;
1150 bo_update.base.mutex = NULL;
1151 bo_update.base.intr = false;
1153 bo_update.base.calc_fifo_size = vmw_stdu_bo_fifo_size_cpu;
1154 bo_update.base.pre_clip = vmw_stdu_bo_pre_clip_cpu;
1155 bo_update.base.clip = vmw_stdu_bo_clip_cpu;
1156 bo_update.base.post_clip = vmw_stdu_bo_populate_update_cpu;
1158 return vmw_du_helper_plane_update(&bo_update.base);
1168 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1184 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1206 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1244 stdu = container_of(update->du, typeof(*stdu), base);
1245 vfbs = container_of(update->vfb, typeof(*vfbs), base);
1309 vfbs = container_of(vfb, typeof(*vfbs), base);
1484 stdu->base.unit = unit;
1485 crtc = &stdu->base.crtc;
1486 encoder = &stdu->base.encoder;
1487 connector = &stdu->base.connector;
1488 primary = &stdu->base.primary;
1489 cursor = &stdu->base.cursor;
1491 stdu->base.pref_active = (unit == 0);
1492 stdu->base.pref_width = dev_priv->initial_width;
1493 stdu->base.pref_height = dev_priv->initial_height;
1494 stdu->base.is_implicit = false;
1511 ret = drm_universal_plane_init(dev, &cursor->base,
1518 drm_plane_cleanup(&stdu->base.primary);
1522 drm_plane_helper_add(&cursor->base, &vmw_stdu_cursor_plane_helper_funcs);
1552 &cursor->base,
1563 drm_object_attach_property(&connector->base,
1565 drm_object_attach_property(&connector->base,
1567 drm_object_attach_property(&connector->base,
1593 vmw_du_cleanup(&stdu->base);