Home
last modified time | relevance | path

Searched refs:asyw (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/
Dwndw.c100 nv50_wndw_wait_armed(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in nv50_wndw_wait_armed() argument
103 if (asyw->set.ntfy) { in nv50_wndw_wait_armed()
105 asyw->ntfy.offset, in nv50_wndw_wait_armed()
113 struct nv50_wndw_atom *asyw) in nv50_wndw_flush_clr() argument
116 .mask = asyw->clr.mask & ~(flush ? 0 : asyw->set.mask), in nv50_wndw_flush_clr()
128 struct nv50_wndw_atom *asyw) in nv50_wndw_flush_set() argument
131 asyw->image.mode = 0; in nv50_wndw_flush_set()
132 asyw->image.interval = 1; in nv50_wndw_flush_set()
135 if (asyw->set.sema ) wndw->func->sema_set (wndw, asyw); in nv50_wndw_flush_set()
136 if (asyw->set.ntfy ) wndw->func->ntfy_set (wndw, asyw); in nv50_wndw_flush_set()
[all …]
Dwndwc37e.c43 wndwc37e_ilut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_ilut_set() argument
48 evo_data(push, asyw->xlut.i.output_mode << 8 | in wndwc37e_ilut_set()
49 asyw->xlut.i.range << 4 | in wndwc37e_ilut_set()
50 asyw->xlut.i.size); in wndwc37e_ilut_set()
51 evo_data(push, asyw->xlut.i.offset >> 8); in wndwc37e_ilut_set()
52 evo_data(push, asyw->xlut.handle); in wndwc37e_ilut_set()
58 wndwc37e_ilut(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_ilut() argument
60 asyw->xlut.i.mode = 2; in wndwc37e_ilut()
61 asyw->xlut.i.size = 0; in wndwc37e_ilut()
62 asyw->xlut.i.range = 0; in wndwc37e_ilut()
[all …]
Dbase907c.c25 base907c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base907c_image_set() argument
30 evo_data(push, asyw->image.mode << 8 | in base907c_image_set()
31 asyw->image.interval << 4); in base907c_image_set()
33 evo_data(push, asyw->image.handle[0]); in base907c_image_set()
35 evo_data(push, asyw->image.offset[0] >> 8); in base907c_image_set()
37 evo_data(push, asyw->image.h << 16 | asyw->image.w); in base907c_image_set()
38 evo_data(push, asyw->image.layout << 24 | in base907c_image_set()
39 (asyw->image.pitch[0] >> 8) << 8 | in base907c_image_set()
40 asyw->image.blocks[0] << 8 | in base907c_image_set()
41 asyw->image.blockh); in base907c_image_set()
[all …]
Dovly507e.c43 ovly507e_scale_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly507e_scale_set() argument
48 evo_data(push, asyw->scale.sy << 16 | asyw->scale.sx); in ovly507e_scale_set()
49 evo_data(push, asyw->scale.sh << 16 | asyw->scale.sw); in ovly507e_scale_set()
50 evo_data(push, asyw->scale.dw); in ovly507e_scale_set()
69 ovly507e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly507e_image_set() argument
74 evo_data(push, asyw->image.interval << 4); in ovly507e_image_set()
76 evo_data(push, asyw->image.handle[0]); in ovly507e_image_set()
80 evo_data(push, asyw->image.offset[0] >> 8); in ovly507e_image_set()
82 evo_data(push, asyw->image.h << 16 | asyw->image.w); in ovly507e_image_set()
83 evo_data(push, asyw->image.layout << 20 | in ovly507e_image_set()
[all …]
Dbase507c.c56 base507c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base507c_image_set() argument
61 evo_data(push, asyw->image.mode << 8 | in base507c_image_set()
62 asyw->image.interval << 4); in base507c_image_set()
64 evo_data(push, asyw->image.handle[0]); in base507c_image_set()
66 evo_data(push, asyw->image.offset[0] >> 8); in base507c_image_set()
68 evo_data(push, asyw->image.h << 16 | asyw->image.w); in base507c_image_set()
69 evo_data(push, asyw->image.layout << 20 | in base507c_image_set()
70 (asyw->image.pitch[0] >> 8) << 8 | in base507c_image_set()
71 asyw->image.blocks[0] << 8 | in base507c_image_set()
72 asyw->image.blockh); in base507c_image_set()
[all …]
Dovly907e.c26 ovly907e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly907e_image_set() argument
31 evo_data(push, asyw->image.interval << 4); in ovly907e_image_set()
33 evo_data(push, asyw->image.handle[0]); in ovly907e_image_set()
37 evo_data(push, asyw->image.offset[0] >> 8); in ovly907e_image_set()
39 evo_data(push, asyw->image.h << 16 | asyw->image.w); in ovly907e_image_set()
40 evo_data(push, asyw->image.layout << 24 | in ovly907e_image_set()
41 (asyw->image.pitch[0] >> 8) << 8 | in ovly907e_image_set()
42 asyw->image.blocks[0] << 8 | in ovly907e_image_set()
43 asyw->image.blockh); in ovly907e_image_set()
44 evo_data(push, asyw->image.format << 8 | in ovly907e_image_set()
[all …]
Dbase827c.c25 base827c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base827c_image_set() argument
30 evo_data(push, asyw->image.mode << 8 | in base827c_image_set()
31 asyw->image.interval << 4); in base827c_image_set()
33 evo_data(push, asyw->image.handle[0]); in base827c_image_set()
35 evo_data(push, asyw->image.offset[0] >> 8); in base827c_image_set()
37 evo_data(push, asyw->image.h << 16 | asyw->image.w); in base827c_image_set()
38 evo_data(push, asyw->image.layout << 20 | in base827c_image_set()
39 (asyw->image.pitch[0] >> 8) << 8 | in base827c_image_set()
40 asyw->image.blocks[0] << 8 | in base827c_image_set()
41 asyw->image.blockh); in base827c_image_set()
[all …]
Dovly827e.c28 ovly827e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly827e_image_set() argument
33 evo_data(push, asyw->image.interval << 4); in ovly827e_image_set()
35 evo_data(push, asyw->image.handle[0]); in ovly827e_image_set()
39 evo_data(push, asyw->image.offset[0] >> 8); in ovly827e_image_set()
41 evo_data(push, asyw->image.h << 16 | asyw->image.w); in ovly827e_image_set()
42 evo_data(push, asyw->image.layout << 20 | in ovly827e_image_set()
43 (asyw->image.pitch[0] >> 8) << 8 | in ovly827e_image_set()
44 asyw->image.blocks[0] << 8 | in ovly827e_image_set()
45 asyw->image.blockh); in ovly827e_image_set()
46 evo_data(push, asyw->image.format << 8 | in ovly827e_image_set()
[all …]
Dcurs507a.c38 curs507a_point(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in curs507a_point() argument
40 nvif_wr32(&wndw->wimm.base.user, 0x0084, asyw->point.y << 16 | in curs507a_point()
41 asyw->point.x); in curs507a_point()
52 struct nv50_wndw_atom *asyw) in curs507a_prepare() argument
55 u32 offset = asyw->image.offset[0]; in curs507a_prepare()
64 curs507a_release(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, in curs507a_release() argument
71 curs507a_acquire(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, in curs507a_acquire() argument
74 struct nv50_head *head = nv50_head(asyw->state.crtc); in curs507a_acquire()
77 ret = drm_atomic_helper_check_plane_state(&asyw->state, &asyh->state, in curs507a_acquire()
81 asyh->curs.visible = asyw->state.visible; in curs507a_acquire()
[all …]
Dcursc37a.c32 cursc37a_point(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in cursc37a_point() argument
34 nvif_wr32(&wndw->wimm.base.user, 0x0208, asyw->point.y << 16 | in cursc37a_point()
35 asyw->point.x); in cursc37a_point()
Dwimmc37b.c43 wimmc37b_point(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wimmc37b_point() argument
48 evo_data(push, asyw->point.y << 16 | asyw->point.x); in wimmc37b_point()
Dwndw.h53 int (*acquire)(struct nv50_wndw *, struct nv50_wndw_atom *asyw,
55 void (*release)(struct nv50_wndw *, struct nv50_wndw_atom *asyw,
58 struct nv50_wndw_atom *asyw);
Dhead917d.c67 head917d_curs_layout(struct nv50_head *head, struct nv50_wndw_atom *asyw, in head917d_curs_layout() argument
70 switch (asyw->state.fb->width) { in head917d_curs_layout()
Dhead507d.c133 head507d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, in head507d_curs_format() argument
136 switch (asyw->image.format) { in head507d_curs_format()
146 head507d_curs_layout(struct nv50_head *head, struct nv50_wndw_atom *asyw, in head507d_curs_layout() argument
149 switch (asyw->image.w) { in head507d_curs_layout()
Ddisp.c1747 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail() local
1751 asyw->clr.mask, asyw->set.mask); in nv50_disp_atomic_commit_tail()
1752 if (!asyw->clr.mask) in nv50_disp_atomic_commit_tail()
1755 nv50_wndw_flush_clr(wndw, interlock, atom->flush_disable, asyw); in nv50_disp_atomic_commit_tail()
1832 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail() local
1836 asyw->set.mask, asyw->clr.mask); in nv50_disp_atomic_commit_tail()
1837 if ( !asyw->set.mask && in nv50_disp_atomic_commit_tail()
1838 (!asyw->clr.mask || atom->flush_disable)) in nv50_disp_atomic_commit_tail()
1841 nv50_wndw_flush_set(wndw, interlock, asyw); in nv50_disp_atomic_commit_tail()
1862 struct nv50_wndw_atom *asyw = nv50_wndw_atom(new_plane_state); in nv50_disp_atomic_commit_tail() local
[all …]
Dheadc37d.c116 headc37d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, in headc37d_curs_format() argument
119 asyh->curs.format = asyw->image.format; in headc37d_curs_format()