Lines Matching defs:asyw
59 curs507a_point(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw)
65 NVVAL(NV507A, SET_CURSOR_HOT_SPOT_POINT_OUT, X, asyw->point.x) |
66 NVVAL(NV507A, SET_CURSOR_HOT_SPOT_POINT_OUT, Y, asyw->point.y));
79 struct nv50_wndw_atom *asyw)
82 u32 offset = asyw->image.offset[0];
91 curs507a_release(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw,
98 curs507a_acquire(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw,
102 struct nv50_head *head = nv50_head(asyw->state.crtc);
103 struct drm_framebuffer *fb = asyw->state.fb;
106 ret = drm_atomic_helper_check_plane_state(&asyw->state, &asyh->state,
110 asyh->curs.visible = asyw->state.visible;
114 if (asyw->state.crtc_w != asyw->state.crtc_h) {
119 if (asyw->image.w != asyw->state.crtc_w) {
124 if (asyw->state.src_x || asyw->state.src_y) {
129 if (asyw->image.pitch[0] != asyw->image.w * fb->format->cpp[0]) {
132 wndw->plane.name, asyw->image.pitch[0], asyw->image.w);
136 ret = head->func->curs_layout(head, asyw, asyh);
140 wndw->plane.name, asyw->image.w, asyw->image.h);
144 ret = head->func->curs_format(head, asyw, asyh);