/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/ |
nouveau_dispnv50_head.c | 40 struct nv50_head_atom *asyh, bool flush) 43 .mask = asyh->clr.mask & ~(flush ? 0 : asyh->set.mask), 51 nv50_head_flush_set(struct nv50_head *head, struct nv50_head_atom *asyh) 53 if (asyh->set.view ) head->func->view (head, asyh); 54 if (asyh->set.mode ) head->func->mode (head, asyh); 55 if (asyh->set.core ) head->func->core_set(head, asyh); 314 struct nv50_head_atom *asyh = nv50_head_atom(state); local in function:nv50_head_atomic_check 427 struct nv50_head_atom *asyh = nv50_head_atom(state); local in function:nv50_head_atomic_destroy_state 436 struct nv50_head_atom *asyh; local in function:nv50_head_atomic_duplicate_state 460 struct nv50_head_atom *asyh; local in function:nv50_head_reset [all...] |
nouveau_dispnv50_head507d.c | 33 head507d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) 39 evo_data(push, asyh->procamp.sat.sin << 20 | 40 asyh->procamp.sat.cos << 8); 46 head507d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) 52 evo_data(push, asyh->dither.mode << 3 | 53 asyh->dither.bits << 1 | 54 asyh->dither.enable); 60 head507d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) 66 if (asyh->ovly.cpp) { 67 switch (asyh->ovly.cpp) [all...] |
nouveau_dispnv50_pior507d.c | 31 struct nv50_head_atom *asyh) 35 if (asyh) { 36 ctrl |= asyh->or.depth << 16; 37 ctrl |= asyh->or.nvsync << 13; 38 ctrl |= asyh->or.nhsync << 12;
|
nouveau_dispnv50_sor507d.c | 31 struct nv50_head_atom *asyh) 35 if (asyh) { 36 ctrl |= asyh->or.depth << 16; 37 ctrl |= asyh->or.nvsync << 13; 38 ctrl |= asyh->or.nhsync << 12;
|
nouveau_dispnv50_head917d.c | 31 head917d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) 37 evo_data(push, asyh->dither.mode << 3 | 38 asyh->dither.bits << 1 | 39 asyh->dither.enable); 45 head917d_base(struct nv50_head *head, struct nv50_head_atom *asyh) 51 if (asyh->base.cpp) { 52 switch (asyh->base.cpp) { 73 struct nv50_head_atom *asyh) 76 case 32: asyh->curs.layout = 0; break; 77 case 64: asyh->curs.layout = 1; break [all...] |
nouveau_dispnv50_dac507d.c | 31 struct nv50_head_atom *asyh) 35 if (asyh) { 36 sync |= asyh->or.nvsync << 1; 37 sync |= asyh->or.nhsync;
|
nouveau_dispnv50_head827d.c | 45 head827d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) 51 evo_data(push, 0x80000000 | asyh->curs.layout << 26 | 52 asyh->curs.format << 24); 53 evo_data(push, asyh->curs.offset >> 8); 55 evo_data(push, asyh->curs.handle); 61 head827d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) 67 evo_data(push, asyh->core.offset >> 8); 69 evo_data(push, asyh->core.h << 16 | asyh->core.w); 70 evo_data(push, asyh->core.layout << 20 [all...] |
nouveau_dispnv50_headc37d.c | 32 headc37d_or(struct nv50_head *head, struct nv50_head_atom *asyh) 40 switch (asyh->or.depth) { 41 case 6: asyh->or.depth = 5; break; 42 case 5: asyh->or.depth = 4; break; 43 case 2: asyh->or.depth = 1; break; 44 case 0: asyh->or.depth = 4; break; 52 asyh->or.depth << 4 | 53 asyh->or.nvsync << 3 | 54 asyh->or.nhsync << 2); 60 headc37d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) [all...] |
nouveau_dispnv50_head907d.c | 31 head907d_or(struct nv50_head *head, struct nv50_head_atom *asyh) 37 evo_data(push, 0x00000001 | asyh->or.depth << 6 | 38 asyh->or.nvsync << 4 | 39 asyh->or.nhsync << 3); 41 asyh->mode.interlace); 47 head907d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) 53 evo_data(push, asyh->procamp.sat.sin << 20 | 54 asyh->procamp.sat.cos << 8); 60 head907d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) 66 evo_data(push, asyh->dither.mode << 3 [all...] |
nouveau_dispnv50_headc57d.c | 32 headc57d_or(struct nv50_head *head, struct nv50_head_atom *asyh) 40 switch (asyh->or.depth) { 41 case 6: asyh->or.depth = 5; break; 42 case 5: asyh->or.depth = 4; break; 43 case 2: asyh->or.depth = 1; break; 44 case 0: asyh->or.depth = 4; break; 52 asyh->or.depth << 4 | 53 asyh->or.nvsync << 3 | 54 asyh->or.nhsync << 2); 60 headc57d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) [all...] |
nouveau_dispnv50_curs507a.c | 56 curs507a_prepare(struct nv50_wndw *wndw, struct nv50_head_atom *asyh, 61 if (asyh->curs.handle != handle || asyh->curs.offset != offset) { 62 asyh->curs.handle = handle; 63 asyh->curs.offset = offset; 64 asyh->set.curs = asyh->curs.visible; 70 struct nv50_head_atom *asyh) 72 asyh->curs.visible = false; 77 struct nv50_head_atom *asyh) [all...] |
nouveau_dispnv50_dac907d.c | 31 struct nv50_head_atom *asyh)
|
nouveau_dispnv50_sor907d.c | 33 struct nv50_head_atom *asyh)
|
nouveau_dispnv50_sorc37d.c | 31 struct nv50_head_atom *asyh)
|
nouveau_dispnv50_base507c.c | 186 struct nv50_head_atom *asyh) 188 asyh->base.cpp = 0; 193 struct nv50_head_atom *asyh) 198 ret = drm_atomic_helper_check_plane_state(&asyw->state, &asyh->state, 206 if ((asyh->base.cpp != 1) ^ (fb->format->cpp[0] != 1)) 207 asyh->state.color_mgmt_changed = true; 210 asyh->base.depth = fb->format->depth; 211 asyh->base.cpp = fb->format->cpp[0]; 212 asyh->base.x = asyw->state.src.x1 >> 16; 213 asyh->base.y = asyw->state.src.y1 >> 16 [all...] |
nouveau_dispnv50_wndw.c | 188 struct nv50_head_atom *asyh) 192 wndw->func->release(wndw, asyw, asyh); 240 struct nv50_head_atom *asyh) 275 if (!asyh->state.async_flip) 323 return wndw->func->acquire(wndw, asyw, asyh); 330 struct nv50_head_atom *asyh) 332 struct drm_property_blob *ilut = asyh->state.degamma_lut; 346 if (!(ilut = asyh->state.gamma_lut)) { 352 asyh->wndw.olut |= BIT(wndw->id); 354 asyh->wndw.olut &= ~BIT(wndw->id) 496 struct nv50_head_atom *asyh; local in function:nv50_wndw_prepare_fb [all...] |
nouveau_dispnv50_ovly507e.c | 125 struct nv50_head_atom *asyh) 127 asyh->ovly.cpp = 0; 132 struct nv50_head_atom *asyh) 137 ret = drm_atomic_helper_check_plane_state(&asyw->state, &asyh->state, 144 asyh->ovly.cpp = fb->format->cpp[0];
|
wndw.h | 56 struct nv50_head_atom *asyh); 58 struct nv50_head_atom *asyh); 59 void (*prepare)(struct nv50_wndw *, struct nv50_head_atom *asyh,
|
nouveau_dispnv50_disp.c | 375 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state); local in function:nv50_outp_atomic_check 384 asyh->or.bpc = connector->display_info.bpc; 408 struct nv50_head_atom *asyh = nv50_head_atom(nv_crtc->base.state); local in function:nv50_dac_enable 413 core->func->dac->ctrl(core, nv_encoder->or, 1 << nv_crtc->index, asyh); 414 asyh->or.depth = 0; 912 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state); local in function:nv50_msto_atomic_check 939 asyh->or.bpc = min(connector->display_info.bpc, 8U); 940 asyh->dp.pbn = drm_dp_calc_pbn_mode(clock, asyh->or.bpc * 3, false); 944 asyh->dp.pbn, 0) 1582 struct nv50_head_atom *asyh = nv50_head_atom(nv_crtc->base.state); local in function:nv50_sor_enable 1805 struct nv50_head_atom *asyh = nv50_head_atom(nv_crtc->base.state); local in function:nv50_pior_enable 1977 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); local in function:nv50_disp_atomic_commit_tail 2060 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); local in function:nv50_disp_atomic_commit_tail [all...] |
nouveau_dispnv50_wndwc37e.c | 227 struct nv50_head_atom *asyh) 233 struct nv50_head_atom *asyh) 235 return drm_atomic_helper_check_plane_state(&asyw->state, &asyh->state,
|