Home
last modified time | relevance | path

Searched refs:wndw (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv50/
Dwndw.c51 nv50_wndw_ctxdma_new(struct nv50_wndw *wndw, struct drm_framebuffer *fb) in nv50_wndw_ctxdma_new() argument
72 list_for_each_entry(ctxdma, &wndw->ctxdma.list, head) { in nv50_wndw_ctxdma_new()
79 list_add(&ctxdma->head, &wndw->ctxdma.list); in nv50_wndw_ctxdma_new()
104 ret = nvif_object_ctor(wndw->ctxdma.parent, "kmsFbCtxDma", handle, in nv50_wndw_ctxdma_new()
115 nv50_wndw_wait_armed(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in nv50_wndw_wait_armed() argument
117 struct nv50_disp *disp = nv50_disp(wndw->plane.dev); in nv50_wndw_wait_armed()
119 return wndw->func->ntfy_wait_begun(disp->sync, in nv50_wndw_wait_armed()
121 wndw->wndw.base.device); in nv50_wndw_wait_armed()
127 nv50_wndw_flush_clr(struct nv50_wndw *wndw, u32 *interlock, bool flush, in nv50_wndw_flush_clr() argument
133 if (clr.sema ) wndw->func-> sema_clr(wndw); in nv50_wndw_flush_clr()
[all …]
Dwndwc37e.c34 wndwc37e_csc_clr(struct nv50_wndw *wndw) in wndwc37e_csc_clr() argument
40 wndwc37e_csc_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_csc_set() argument
42 struct nvif_push *push = wndw->wndw.push; in wndwc37e_csc_set()
53 wndwc37e_ilut_clr(struct nv50_wndw *wndw) in wndwc37e_ilut_clr() argument
55 struct nvif_push *push = wndw->wndw.push; in wndwc37e_ilut_clr()
66 wndwc37e_ilut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_ilut_set() argument
68 struct nvif_push *push = wndw->wndw.push; in wndwc37e_ilut_set()
85 wndwc37e_ilut(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, int size) in wndwc37e_ilut() argument
95 wndwc37e_blend_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_blend_set() argument
97 struct nvif_push *push = wndw->wndw.push; in wndwc37e_blend_set()
[all …]
Dbase507c.c36 base507c_update(struct nv50_wndw *wndw, u32 *interlock) in base507c_update() argument
38 struct nvif_push *push = wndw->wndw.push; in base507c_update()
49 base507c_image_clr(struct nv50_wndw *wndw) in base507c_image_clr() argument
51 struct nvif_push *push = wndw->wndw.push; in base507c_image_clr()
66 base507c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base507c_image_set() argument
68 struct nvif_push *push = wndw->wndw.push; in base507c_image_set()
119 base507c_xlut_clr(struct nv50_wndw *wndw) in base507c_xlut_clr() argument
121 struct nvif_push *push = wndw->wndw.push; in base507c_xlut_clr()
133 base507c_xlut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base507c_xlut_set() argument
135 struct nvif_push *push = wndw->wndw.push; in base507c_xlut_set()
[all …]
Dcurs507a.c34 curs507a_space(struct nv50_wndw *wndw) in curs507a_space() argument
36 nvif_msec(&nouveau_drm(wndw->plane.dev)->client.device, 100, in curs507a_space()
37 if (NVIF_TV32(&wndw->wimm.base.user, NV507A, FREE, COUNT, >=, 4)) in curs507a_space()
46 curs507a_update(struct nv50_wndw *wndw, u32 *interlock) in curs507a_update() argument
48 struct nvif_object *user = &wndw->wimm.base.user; in curs507a_update()
49 int ret = nvif_chan_wait(&wndw->wimm, 1); in curs507a_update()
58 curs507a_point(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in curs507a_point() argument
60 struct nvif_object *user = &wndw->wimm.base.user; in curs507a_point()
61 int ret = nvif_chan_wait(&wndw->wimm, 1); in curs507a_point()
77 curs507a_prepare(struct nv50_wndw *wndw, struct nv50_head_atom *asyh, in curs507a_prepare() argument
[all …]
Dwimmc37b.c32 wimmc37b_update(struct nv50_wndw *wndw, u32 *interlock) in wimmc37b_update() argument
34 struct nvif_push *push = wndw->wimm.push; in wimmc37b_update()
42 !!(interlock[NV50_DISP_INTERLOCK_WNDW] & wndw->interlock.data))); in wimmc37b_update()
47 wimmc37b_point(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wimmc37b_point() argument
49 struct nvif_push *push = wndw->wimm.push; in wimmc37b_point()
69 s32 oclass, struct nv50_wndw *wndw) in wimmc37b_init_() argument
72 .id = wndw->id, in wimmc37b_init_()
79 &wndw->wimm); in wimmc37b_init_()
85 wndw->interlock.wimm = wndw->interlock.data; in wimmc37b_init_()
86 wndw->immd = func; in wimmc37b_init_()
[all …]
Dovly507e.c34 ovly507e_scale_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly507e_scale_set() argument
36 struct nvif_push *push = wndw->wndw.push; in ovly507e_scale_set()
56 ovly507e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly507e_image_set() argument
58 struct nvif_push *push = wndw->wndw.push; in ovly507e_image_set()
94 ovly507e_release(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, in ovly507e_release() argument
101 ovly507e_acquire(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, in ovly507e_acquire() argument
152 struct nv50_wndw *wndw; in ovly507e_new_() local
158 &wndw); in ovly507e_new_()
159 if (*pwndw = wndw, ret) in ovly507e_new_()
164 disp->sync->offset, &wndw->wndw); in ovly507e_new_()
[all …]
Dbase907c.c29 base907c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base907c_image_set() argument
31 struct nvif_push *push = wndw->wndw.push; in base907c_image_set()
66 base907c_xlut_clr(struct nv50_wndw *wndw) in base907c_xlut_clr() argument
68 struct nvif_push *push = wndw->wndw.push; in base907c_xlut_clr()
85 base907c_xlut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base907c_xlut_set() argument
87 struct nvif_push *push = wndw->wndw.push; in base907c_xlut_set()
107 base907c_ilut(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, int size) in base907c_ilut() argument
137 base907c_csc(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, in base907c_csc() argument
157 base907c_csc_clr(struct nv50_wndw *wndw) in base907c_csc_clr() argument
159 struct nvif_push *push = wndw->wndw.push; in base907c_csc_clr()
[all …]
Doimm507b.c28 s32 oclass, struct nv50_wndw *wndw) in oimm507b_init_() argument
31 .id = wndw->id, in oimm507b_init_()
37 &args, sizeof(args), &wndw->wimm.base.user); in oimm507b_init_()
43 nvif_object_map(&wndw->wimm.base.user, NULL, 0); in oimm507b_init_()
44 wndw->immd = func; in oimm507b_init_()
49 oimm507b_init(struct nouveau_drm *drm, s32 oclass, struct nv50_wndw *wndw) in oimm507b_init() argument
51 return oimm507b_init_(&curs507a, drm, oclass, wndw); in oimm507b_init()
Dwndwc57e.c33 wndwc57e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc57e_image_set() argument
35 struct nvif_push *push = wndw->wndw.push; in wndwc57e_image_set()
82 wndwc57e_csc_clr(struct nv50_wndw *wndw) in wndwc57e_csc_clr() argument
84 struct nvif_push *push = wndw->wndw.push; in wndwc57e_csc_clr()
100 wndwc57e_csc_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc57e_csc_set() argument
102 struct nvif_push *push = wndw->wndw.push; in wndwc57e_csc_set()
113 wndwc57e_ilut_clr(struct nv50_wndw *wndw) in wndwc57e_ilut_clr() argument
115 struct nvif_push *push = wndw->wndw.push; in wndwc57e_ilut_clr()
126 wndwc57e_ilut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc57e_ilut_set() argument
128 struct nvif_push *push = wndw->wndw.push; in wndwc57e_ilut_set()
[all …]
Dcursc37a.c28 cursc37a_update(struct nv50_wndw *wndw, u32 *interlock) in cursc37a_update() argument
30 struct nvif_object *user = &wndw->wimm.base.user; in cursc37a_update()
31 int ret = nvif_chan_wait(&wndw->wimm, 1); in cursc37a_update()
38 cursc37a_point(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in cursc37a_point() argument
40 struct nvif_object *user = &wndw->wimm.base.user; in cursc37a_point()
41 int ret = nvif_chan_wait(&wndw->wimm, 1); in cursc37a_point()
Dwndw.h28 struct nv50_dmac wndw; member
62 void (*ilut)(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyh, int size);
104 struct nv50_wndw *wndw = container_of(dmac, typeof(*wndw), wimm); in nvif_chan_wait() local
105 return curs507a_space(wndw) ? 0 : -ETIMEDOUT; in nvif_chan_wait()
Dovly907e.c30 ovly907e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly907e_image_set() argument
32 struct nvif_push *push = wndw->wndw.push; in ovly907e_image_set()
Dwimm.c27 nv50_wimm_init(struct nouveau_drm *drm, struct nv50_wndw *wndw) in nv50_wimm_init() argument
48 return wimms[cid].init(drm, wimms[cid].oclass, wndw); in nv50_wimm_init()
Doimm.c27 nv50_oimm_init(struct nouveau_drm *drm, struct nv50_wndw *wndw) in nv50_oimm_init() argument
50 return oimms[cid].init(drm, oimms[cid].oclass, wndw); in nv50_oimm_init()
Dbase827c.c29 base827c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base827c_image_set() argument
31 struct nvif_push *push = wndw->wndw.push; in base827c_image_set()
Dovly827e.c33 ovly827e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly827e_image_set() argument
35 struct nvif_push *push = wndw->wndw.push; in ovly827e_image_set()
Dwndwc67e.c30 wndwc67e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc67e_image_set() argument
32 struct nvif_push *push = wndw->wndw.push; in wndwc67e_image_set()
Dhead.c252 if (asyh->wndw.olut) { in nv50_head_atomic_check_lut()
256 if (asyh->wndw.olut != asyh->wndw.mask) in nv50_head_atomic_check_lut()
349 memcmp(&armh->wndw, &asyh->wndw, sizeof(asyh->wndw)); in nv50_head_atomic_check()
477 asyh->wndw = armh->wndw; in nv50_head_atomic_duplicate_state()
Dcorec57d.c68 .wndw.owner = corec37d_wndw_owner,
Dcore.h27 } wndw; member
Ddisp.c2088 struct nv50_wndw *wndw = nv50_wndw(plane); in nv50_disp_atomic_commit_wndw() local
2089 if (interlock[wndw->interlock.type] & wndw->interlock.data) { in nv50_disp_atomic_commit_wndw()
2090 if (wndw->func->update) in nv50_disp_atomic_commit_wndw()
2091 wndw->func->update(wndw, interlock); in nv50_disp_atomic_commit_wndw()
2146 struct nv50_wndw *wndw = nv50_wndw(plane); in nv50_disp_atomic_commit_tail() local
2153 nv50_wndw_flush_clr(wndw, interlock, atom->flush_disable, asyw); in nv50_disp_atomic_commit_tail()
2247 core->func->wndw.owner(core); in nv50_disp_atomic_commit_tail()
2283 struct nv50_wndw *wndw = nv50_wndw(plane); in nv50_disp_atomic_commit_tail() local
2291 nv50_wndw_flush_set(wndw, interlock, asyw); in nv50_disp_atomic_commit_tail()
2313 struct nv50_wndw *wndw = nv50_wndw(plane); in nv50_disp_atomic_commit_tail() local
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dgv100.c945 int wndw; in gv100_disp_intr_ctrl_disp() local
955 for_each_set_bit(wndw, &wndws, disp->wndw.nr) { in gv100_disp_intr_ctrl_disp()
956 nv50_disp_chan_uevent_send(disp, 1 + wndw); in gv100_disp_intr_ctrl_disp()
980 for_each_set_bit(head, &mask, disp->wndw.nr) { in gv100_disp_intr_exc_other()
999 int wndw; in gv100_disp_intr_exc_winim() local
1001 for_each_set_bit(wndw, &stat, disp->wndw.nr) { in gv100_disp_intr_exc_winim()
1002 nvkm_wr32(device, 0x611850, BIT(wndw)); in gv100_disp_intr_exc_winim()
1003 gv100_disp_exception(disp, 33 + wndw); in gv100_disp_intr_exc_winim()
1004 stat &= ~BIT(wndw); in gv100_disp_intr_exc_winim()
1019 int wndw; in gv100_disp_intr_exc_win() local
[all …]
Dtu102.c153 for (i = 0; i < disp->wndw.nr; i++) { in tu102_disp_init()
191 nvkm_wr32(device, 0x611ce8, disp->wndw.mask); /* MSK. */ in tu102_disp_init()
195 nvkm_wr32(device, 0x611ce4, disp->wndw.mask); /* MSK. */ in tu102_disp_init()
219 .wndw = { .cnt = gv100_disp_wndw_cnt },
Dpriv.h31 } wndw, head, dac, sor, pior; member
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/engine/
Ddisp.h34 } wndw, head, dac; member

12