Lines Matching defs:new_state
642 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
645 struct qxl_bo *bo = gem_to_qxl_bo(new_state->fb->obj[0]);
650 .x2 = new_state->fb->width,
651 .y2 = new_state->fb->height
666 qdev->dumb_heads[new_state->crtc->index].x;
668 qxl_draw_dirty_fb(qdev, new_state->fb, bo, 0, 0, &norect, 1, 1,
694 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
697 struct drm_framebuffer *fb = new_state->fb;
700 qxl_primary_apply_cursor(qdev, new_state);
702 qxl_primary_move_cursor(qdev, new_state);
831 struct drm_plane_state *new_state)
838 if (!new_state->fb)
841 obj = new_state->fb->obj[0];
846 qxl_prepare_shadow(qdev, user_bo, new_state->crtc->index);
850 plane->state->fb != new_state->fb) {
851 struct qxl_crtc *qcrtc = to_qxl_crtc(new_state->crtc);
855 new_state->hotspot_x,
856 new_state->hotspot_y);
864 return drm_gem_plane_helper_prepare_fb(plane, new_state);