Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/
Dbase507c.c32 base507c_update(struct nv50_wndw *wndw, u32 *interlock) in base507c_update() argument
35 if ((push = evo_wait(&wndw->wndw, 2))) { in base507c_update()
38 evo_kick(push, &wndw->wndw); in base507c_update()
43 base507c_image_clr(struct nv50_wndw *wndw) in base507c_image_clr() argument
46 if ((push = evo_wait(&wndw->wndw, 4))) { in base507c_image_clr()
51 evo_kick(push, &wndw->wndw); in base507c_image_clr()
56 base507c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base507c_image_set() argument
59 if ((push = evo_wait(&wndw->wndw, 10))) { in base507c_image_set()
75 evo_kick(push, &wndw->wndw); in base507c_image_set()
80 base507c_xlut_clr(struct nv50_wndw *wndw) in base507c_xlut_clr() argument
[all …]
Dwndwc37e.c32 wndwc37e_ilut_clr(struct nv50_wndw *wndw) in wndwc37e_ilut_clr() argument
35 if ((push = evo_wait(&wndw->wndw, 2))) { in wndwc37e_ilut_clr()
38 evo_kick(push, &wndw->wndw); in wndwc37e_ilut_clr()
43 wndwc37e_ilut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_ilut_set() argument
46 if ((push = evo_wait(&wndw->wndw, 4))) { in wndwc37e_ilut_set()
53 evo_kick(push, &wndw->wndw); in wndwc37e_ilut_set()
58 wndwc37e_ilut(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_ilut() argument
67 wndwc37e_image_clr(struct nv50_wndw *wndw) in wndwc37e_image_clr() argument
70 if ((push = evo_wait(&wndw->wndw, 4))) { in wndwc37e_image_clr()
75 evo_kick(push, &wndw->wndw); in wndwc37e_image_clr()
[all …]
Dwndw.c40 nv50_wndw_ctxdma_new(struct nv50_wndw *wndw, struct nouveau_framebuffer *fb) in nv50_wndw_ctxdma_new() argument
57 list_for_each_entry(ctxdma, &wndw->ctxdma.list, head) { in nv50_wndw_ctxdma_new()
64 list_add(&ctxdma->head, &wndw->ctxdma.list); in nv50_wndw_ctxdma_new()
89 ret = nvif_object_init(wndw->ctxdma.parent, handle, NV_DMA_IN_MEMORY, in nv50_wndw_ctxdma_new()
100 nv50_wndw_wait_armed(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in nv50_wndw_wait_armed() argument
102 struct nv50_disp *disp = nv50_disp(wndw->plane.dev); in nv50_wndw_wait_armed()
104 return wndw->func->ntfy_wait_begun(disp->sync, in nv50_wndw_wait_armed()
106 wndw->wndw.base.device); in nv50_wndw_wait_armed()
112 nv50_wndw_flush_clr(struct nv50_wndw *wndw, u32 *interlock, bool flush, in nv50_wndw_flush_clr() argument
118 if (clr.sema ) wndw->func-> sema_clr(wndw); in nv50_wndw_flush_clr()
[all …]
Dovly507e.c32 ovly507e_update(struct nv50_wndw *wndw, u32 *interlock) in ovly507e_update() argument
35 if ((push = evo_wait(&wndw->wndw, 2))) { in ovly507e_update()
38 evo_kick(push, &wndw->wndw); in ovly507e_update()
43 ovly507e_scale_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly507e_scale_set() argument
46 if ((push = evo_wait(&wndw->wndw, 4))) { in ovly507e_scale_set()
51 evo_kick(push, &wndw->wndw); in ovly507e_scale_set()
56 ovly507e_image_clr(struct nv50_wndw *wndw) in ovly507e_image_clr() argument
59 if ((push = evo_wait(&wndw->wndw, 4))) { in ovly507e_image_clr()
64 evo_kick(push, &wndw->wndw); in ovly507e_image_clr()
69 ovly507e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly507e_image_set() argument
[all …]
Dwimmc37b.c29 wimmc37b_update(struct nv50_wndw *wndw, u32 *interlock) in wimmc37b_update() argument
32 if ((push = evo_wait(&wndw->wimm, 2))) { in wimmc37b_update()
34 if (interlock[NV50_DISP_INTERLOCK_WNDW] & wndw->interlock.data) in wimmc37b_update()
38 evo_kick(push, &wndw->wimm); in wimmc37b_update()
43 wimmc37b_point(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wimmc37b_point() argument
46 if ((push = evo_wait(&wndw->wimm, 2))) { in wimmc37b_point()
49 evo_kick(push, &wndw->wimm); in wimmc37b_point()
61 s32 oclass, struct nv50_wndw *wndw) in wimmc37b_init_() argument
64 .pushbuf = 0xb0007b00 | wndw->id, in wimmc37b_init_()
65 .index = wndw->id, in wimmc37b_init_()
[all …]
Dbase907c.c25 base907c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base907c_image_set() argument
28 if ((push = evo_wait(&wndw->wndw, 10))) { in base907c_image_set()
43 evo_kick(push, &wndw->wndw); in base907c_image_set()
48 base907c_xlut_clr(struct nv50_wndw *wndw) in base907c_xlut_clr() argument
51 if ((push = evo_wait(&wndw->wndw, 6))) { in base907c_xlut_clr()
58 evo_kick(push, &wndw->wndw); in base907c_xlut_clr()
63 base907c_xlut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base907c_xlut_set() argument
66 if ((push = evo_wait(&wndw->wndw, 6))) { in base907c_xlut_set()
74 evo_kick(push, &wndw->wndw); in base907c_xlut_set()
79 base907c_ilut(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base907c_ilut() argument
Dcurs507a.c32 curs507a_update(struct nv50_wndw *wndw, u32 *interlock) in curs507a_update() argument
34 nvif_wr32(&wndw->wimm.base.user, 0x0080, 0x00000000); in curs507a_update()
38 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()
51 curs507a_prepare(struct nv50_wndw *wndw, struct nv50_head_atom *asyh, in curs507a_prepare() argument
54 u32 handle = nv50_disp(wndw->plane.dev)->core->chan.vram.handle; 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
117 struct nv50_wndw *wndw; in curs507a_new_() local
122 NV50_DISP_INTERLOCK_CURS, interlock_data, &wndw); in curs507a_new_()
[all …]
Doimm507b.c28 s32 oclass, struct nv50_wndw *wndw) in oimm507b_init_() argument
31 .head = wndw->id, in oimm507b_init_()
37 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()
Dovly907e.c26 ovly907e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly907e_image_set() argument
29 if ((push = evo_wait(&wndw->wndw, 12))) { in ovly907e_image_set()
46 evo_kick(push, &wndw->wndw); in ovly907e_image_set()
Dcursc37a.c26 cursc37a_update(struct nv50_wndw *wndw, u32 *interlock) in cursc37a_update() argument
28 nvif_wr32(&wndw->wimm.base.user, 0x0200, 0x00000001); in cursc37a_update()
32 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()
Dbase827c.c25 base827c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in base827c_image_set() argument
28 if ((push = evo_wait(&wndw->wndw, 10))) { in base827c_image_set()
43 evo_kick(push, &wndw->wndw); in base827c_image_set()
Dovly827e.c28 ovly827e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in ovly827e_image_set() argument
31 if ((push = evo_wait(&wndw->wndw, 12))) { in ovly827e_image_set()
48 evo_kick(push, &wndw->wndw); in ovly827e_image_set()
Dhead.c203 if (asyh->wndw.olut) { in nv50_head_atomic_check_lut()
207 if (asyh->wndw.olut != asyh->wndw.mask) in nv50_head_atomic_check_lut()
313 memcmp(&armh->wndw, &asyh->wndw, sizeof(asyh->wndw))) { in nv50_head_atomic_check()
406 asyh->wndw = armh->wndw; in nv50_head_atomic_duplicate_state()
468 struct nv50_wndw *curs, *wndw; in nv50_head_create() local
480 ret = nv50_ovly_new(drm, head->base.index, &wndw); in nv50_head_create()
481 ret = nv50_base_new(drm, head->base.index, &wndw); in nv50_head_create()
484 head->base.index * 2 + 1, &wndw); in nv50_head_create()
486 head->base.index * 2 + 0, &wndw); in nv50_head_create()
496 drm_crtc_init_with_planes(dev, crtc, &wndw->plane, &curs->plane, in nv50_head_create()
Dwimm.c27 nv50_wimm_init(struct nouveau_drm *drm, struct nv50_wndw *wndw) in nv50_wimm_init() argument
46 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()
Ddisp.c1698 struct nv50_wndw *wndw = nv50_wndw(plane); in nv50_disp_atomic_commit_wndw() local
1699 if (interlock[wndw->interlock.type] & wndw->interlock.data) { in nv50_disp_atomic_commit_wndw()
1700 if (wndw->func->update) in nv50_disp_atomic_commit_wndw()
1701 wndw->func->update(wndw, interlock); in nv50_disp_atomic_commit_wndw()
1748 struct nv50_wndw *wndw = nv50_wndw(plane); in nv50_disp_atomic_commit_tail() local
1755 nv50_wndw_flush_clr(wndw, interlock, atom->flush_disable, asyw); in nv50_disp_atomic_commit_tail()
1833 struct nv50_wndw *wndw = nv50_wndw(plane); in nv50_disp_atomic_commit_tail() local
1841 nv50_wndw_flush_set(wndw, interlock, asyw); in nv50_disp_atomic_commit_tail()
1863 struct nv50_wndw *wndw = nv50_wndw(plane); in nv50_disp_atomic_commit_tail() local
1864 int ret = nv50_wndw_wait_armed(wndw, asyw); in nv50_disp_atomic_commit_tail()
[all …]
Dwndw.h30 struct nv50_dmac wndw; member
DKbuild30 nouveau-y += dispnv50/wndw.o
Datom.h22 } wndw; member
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dgv100.c147 int wndw; in gv100_disp_intr_ctrl_disp() local
157 for_each_set_bit(wndw, &wndws, disp->wndw.nr) { in gv100_disp_intr_ctrl_disp()
158 nv50_disp_chan_uevent_send(disp, 1 + wndw); in gv100_disp_intr_ctrl_disp()
182 for_each_set_bit(head, &mask, disp->wndw.nr) { in gv100_disp_intr_exc_other()
201 int wndw; in gv100_disp_intr_exc_winim() local
203 for_each_set_bit(wndw, &stat, disp->wndw.nr) { in gv100_disp_intr_exc_winim()
204 nvkm_wr32(device, 0x611850, BIT(wndw)); in gv100_disp_intr_exc_winim()
205 gv100_disp_exception(disp, 33 + wndw); in gv100_disp_intr_exc_winim()
206 stat &= ~BIT(wndw); in gv100_disp_intr_exc_winim()
221 int wndw; in gv100_disp_intr_exc_win() local
[all …]
Dwimmgv100.c57 int wndw, ret = -ENOSYS; in gv100_disp_wimm_new_() local
65 if (!(disp->wndw.mask & BIT(args->v0.index))) in gv100_disp_wimm_new_()
68 wndw = args->v0.index; in gv100_disp_wimm_new_()
72 return nv50_disp_dmac_new_(func, mthd, disp, chid + wndw, in gv100_disp_wimm_new_()
73 wndw, push, oclass, pobject); in gv100_disp_wimm_new_()
Dwndwgv100.c159 int wndw, ret = -ENOSYS; in gv100_disp_wndw_new_() local
167 if (!(disp->wndw.mask & BIT(args->v0.index))) in gv100_disp_wndw_new_()
170 wndw = args->v0.index; in gv100_disp_wndw_new_()
174 return nv50_disp_dmac_new_(func, mthd, disp, chid + wndw, in gv100_disp_wndw_new_()
175 wndw, push, oclass, pobject); in gv100_disp_wndw_new_()
Dnv50.h21 } wndw, head, dac; member
65 } wndw, head, dac, sor, pior; member
Dnv50.c91 if (func->wndw.cnt) { in nv50_disp_oneinit_()
92 disp->wndw.nr = func->wndw.cnt(&disp->base, &disp->wndw.mask); in nv50_disp_oneinit_()
94 disp->wndw.nr, disp->wndw.mask); in nv50_disp_oneinit_()