Home
last modified time | relevance | path

Searched refs:asyh (Results 1 - 25 of 46) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c40 struct nv50_head_atom *asyh, bool flush) in nv50_head_flush_clr()
43 .mask = asyh->clr.mask & ~(flush ? 0 : asyh->set.mask), in nv50_head_flush_clr()
52 nv50_head_flush_set_wndw(struct nv50_head *head, struct nv50_head_atom *asyh) in nv50_head_flush_set_wndw() argument
54 if (asyh->set.curs ) head->func->curs_set(head, asyh); in nv50_head_flush_set_wndw()
55 if (asyh->set.olut ) { in nv50_head_flush_set_wndw()
56 asyh->olut.offset = nv50_lut_load(&head->olut, in nv50_head_flush_set_wndw()
57 asyh->olut.buffer, in nv50_head_flush_set_wndw()
58 asyh in nv50_head_flush_set_wndw()
39 nv50_head_flush_clr(struct nv50_head *head, struct nv50_head_atom *asyh, bool flush) nv50_head_flush_clr() argument
65 nv50_head_flush_set(struct nv50_head *head, struct nv50_head_atom *asyh) nv50_head_flush_set() argument
79 nv50_head_atomic_check_procamp(struct nv50_head_atom *armh, struct nv50_head_atom *asyh, struct nouveau_conn_atom *asyc) nv50_head_atomic_check_procamp() argument
92 nv50_head_atomic_check_dither(struct nv50_head_atom *armh, struct nv50_head_atom *asyh, struct nouveau_conn_atom *asyc) nv50_head_atomic_check_dither() argument
121 nv50_head_atomic_check_view(struct nv50_head_atom *armh, struct nv50_head_atom *asyh, struct nouveau_conn_atom *asyc) nv50_head_atomic_check_view() argument
225 nv50_head_atomic_check_lut(struct nv50_head *head, struct nv50_head_atom *asyh) nv50_head_atomic_check_lut() argument
283 nv50_head_atomic_check_mode(struct nv50_head *head, struct nv50_head_atom *asyh) nv50_head_atomic_check_mode() argument
342 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state); nv50_head_atomic_check() local
463 struct nv50_head_atom *asyh = nv50_head_atom(state); nv50_head_atomic_destroy_state() local
472 struct nv50_head_atom *asyh; nv50_head_atomic_duplicate_state() local
497 struct nv50_head_atom *asyh; nv50_head_reset() local
[all...]
H A Dhead507d.c30 head507d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_procamp() argument
42 NVVAL(NV507D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in head507d_procamp()
43 NVVAL(NV507D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in head507d_procamp()
49 head507d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_dither() argument
59 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head507d_dither()
60 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head507d_dither()
61 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head507d_dither()
67 head507d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_ovly() argument
74 if (asyh->ovly.cpp) { in head507d_ovly()
75 switch (asyh in head507d_ovly()
95 head507d_base(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_base() argument
140 head507d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_curs_set() argument
163 head507d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) head507d_curs_format() argument
176 head507d_curs_layout(struct nv50_head *head, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) head507d_curs_layout() argument
203 head507d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_core_set() argument
247 head507d_core_calc(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_core_calc() argument
294 head507d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_olut_set() argument
331 head507d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) head507d_olut() argument
346 head507d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_mode() argument
401 head507d_view(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_view() argument
[all...]
H A Dhead907d.c37 head907d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_or() argument
47 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, CRC_MODE, asyh->or.crc_raster) | in head907d_or()
48 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, HSYNC_POLARITY, asyh->or.nhsync) | in head907d_or()
49 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, VSYNC_POLARITY, asyh->or.nvsync) | in head907d_or()
50 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, PIXEL_DEPTH, asyh->or.depth), in head907d_or()
53 NVVAL(NV907D, HEAD_SET_CONTROL, STRUCTURE, asyh->mode.interlace)); in head907d_or()
58 head907d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_procamp() argument
70 NVVAL(NV907D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in head907d_procamp()
71 NVVAL(NV907D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in head907d_procamp()
78 head907d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_dither() argument
96 head907d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_ovly() argument
125 head907d_base(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_base() argument
172 head907d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_curs_set() argument
210 head907d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_core_set() argument
264 head907d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_olut_set() argument
303 head907d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) head907d_olut() argument
323 head907d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_mode() argument
379 head907d_view(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_view() argument
[all...]
H A Dheadc37d.c31 headc37d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_or() argument
41 switch (asyh->or.depth) { in headc37d_or()
47 depth = asyh->or.depth; in headc37d_or()
56 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, CRC_MODE, asyh->or.crc_raster) | in headc37d_or()
57 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, HSYNC_POLARITY, asyh->or.nhsync) | in headc37d_or()
58 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, VSYNC_POLARITY, asyh->or.nvsync) | in headc37d_or()
65 headc37d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_procamp() argument
77 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in headc37d_procamp()
78 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in headc37d_procamp()
86 headc37d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_dither() argument
123 headc37d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) headc37d_curs_set() argument
154 headc37d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) headc37d_curs_format() argument
176 headc37d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) headc37d_olut_set() argument
196 headc37d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) headc37d_olut() argument
210 headc37d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) headc37d_mode() argument
255 headc37d_view(struct nv50_head *head, struct nv50_head_atom *asyh) headc37d_view() argument
275 headc37d_static_wndw_map(struct nv50_head *head, struct nv50_head_atom *asyh) headc37d_static_wndw_map() argument
[all...]
H A Dhead827d.c49 head827d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head827d_curs_set() argument
60 NVVAL(NV827D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in head827d_curs_set()
61 NVVAL(NV827D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) | in head827d_curs_set()
67 HEAD_SET_OFFSET_CURSOR(i), asyh->curs.offset >> 8); in head827d_curs_set()
69 PUSH_MTHD(push, NV827D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle); in head827d_curs_set()
74 head827d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head827d_core_set() argument
84 NVVAL(NV827D, HEAD_SET_OFFSET, ORIGIN, asyh->core.offset >> 8)); in head827d_core_set()
87 NVVAL(NV827D, HEAD_SET_SIZE, WIDTH, asyh->core.w) | in head827d_core_set()
88 NVVAL(NV827D, HEAD_SET_SIZE, HEIGHT, asyh->core.h), in head827d_core_set()
91 NVVAL(NV827D, HEAD_SET_STORAGE, BLOCK_HEIGHT, asyh in head827d_core_set()
128 head827d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) head827d_olut_set() argument
[all...]
H A Dhead917d.c31 head917d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head917d_dither() argument
41 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head917d_dither()
42 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head917d_dither()
43 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head917d_dither()
49 head917d_base(struct nv50_head *head, struct nv50_head_atom *asyh) in head917d_base() argument
56 if (asyh->base.cpp) { in head917d_base()
57 switch (asyh->base.cpp) { in head917d_base()
78 head917d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head917d_curs_set() argument
90 NVVAL(NV917D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in head917d_curs_set()
91 NVVAL(NV917D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh in head917d_curs_set()
103 head917d_curs_layout(struct nv50_head *head, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) head917d_curs_layout() argument
[all...]
H A Dheadc57d.c31 headc57d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in headc57d_or() argument
41 switch (asyh->or.depth) { in headc57d_or()
47 depth = asyh->or.depth; in headc57d_or()
56 NVVAL(NVC57D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, CRC_MODE, asyh->or.crc_raster) | in headc57d_or()
57 NVVAL(NVC57D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, HSYNC_POLARITY, asyh->or.nhsync) | in headc57d_or()
58 NVVAL(NVC57D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, VSYNC_POLARITY, asyh->or.nvsync) | in headc57d_or()
66 headc57d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in headc57d_procamp() argument
98 headc57d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headc57d_olut_set() argument
108 NVVAL(NVC57D, HEAD_SET_OLUT_CONTROL, INTERPOLATE, asyh->olut.output_mode) | in headc57d_olut_set()
110 NVVAL(NVC57D, HEAD_SET_OLUT_CONTROL, MODE, asyh in headc57d_olut_set()
173 headc57d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) headc57d_olut() argument
189 headc57d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) headc57d_mode() argument
[all...]
H A Dcrc.c246 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state); in nv50_crc_atomic_stop_reporting() local
249 if (!asyh->clr.crc) in nv50_crc_atomic_stop_reporting()
278 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_init_notifier_contexts() local
282 if (!asyh->set.crc) in nv50_crc_atomic_init_notifier_contexts()
302 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_release_notifier_contexts() local
306 if (!asyh->clr.crc) in nv50_crc_atomic_release_notifier_contexts()
325 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state); in nv50_crc_atomic_start_reporting() local
329 if (!asyh->set.crc) in nv50_crc_atomic_start_reporting()
337 crc->src = asyh->crc.src; in nv50_crc_atomic_start_reporting()
350 struct nv50_head_atom *asyh, in nv50_crc_atomic_check_head()
349 nv50_crc_atomic_check_head(struct nv50_head *head, struct nv50_head_atom *asyh, struct nv50_head_atom *armh) nv50_crc_atomic_check_head() argument
391 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); nv50_crc_atomic_check_outp() local
448 nv50_crc_atomic_set(struct nv50_head *head, struct nv50_head_atom *asyh) nv50_crc_atomic_set() argument
547 struct nv50_head_atom *asyh; nv50_crc_set_source() local
[all...]
H A Dcurs507a.c78 curs507a_prepare(struct nv50_wndw *wndw, struct nv50_head_atom *asyh, in curs507a_prepare() argument
83 if (asyh->curs.handle != handle || asyh->curs.offset != offset) { in curs507a_prepare()
84 asyh->curs.handle = handle; in curs507a_prepare()
85 asyh->curs.offset = offset; in curs507a_prepare()
86 asyh->set.curs = asyh->curs.visible; in curs507a_prepare()
92 struct nv50_head_atom *asyh) in curs507a_release()
94 asyh->curs.visible = false; in curs507a_release()
99 struct nv50_head_atom *asyh) in curs507a_acquire()
91 curs507a_release(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) curs507a_release() argument
98 curs507a_acquire(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) curs507a_acquire() argument
[all...]
H A Dpior507d.c31 struct nv50_head_atom *asyh) in pior507d_ctrl()
36 if (asyh) { in pior507d_ctrl()
37 ctrl |= NVVAL(NV507D, PIOR_SET_CONTROL, HSYNC_POLARITY, asyh->or.nhsync); in pior507d_ctrl()
38 ctrl |= NVVAL(NV507D, PIOR_SET_CONTROL, VSYNC_POLARITY, asyh->or.nvsync); in pior507d_ctrl()
39 ctrl |= NVVAL(NV837D, PIOR_SET_CONTROL, PIXEL_DEPTH, asyh->or.depth); in pior507d_ctrl()
30 pior507d_ctrl(struct nv50_core *core, int or, u32 ctrl, struct nv50_head_atom *asyh) pior507d_ctrl() argument
H A Dsor507d.c31 struct nv50_head_atom *asyh) in sor507d_ctrl()
36 if (asyh) { in sor507d_ctrl()
37 ctrl |= NVVAL(NV507D, SOR_SET_CONTROL, HSYNC_POLARITY, asyh->or.nhsync); in sor507d_ctrl()
38 ctrl |= NVVAL(NV507D, SOR_SET_CONTROL, VSYNC_POLARITY, asyh->or.nvsync); in sor507d_ctrl()
39 ctrl |= NVVAL(NV837D, SOR_SET_CONTROL, PIXEL_DEPTH, asyh->or.depth); in sor507d_ctrl()
30 sor507d_ctrl(struct nv50_core *core, int or, u32 ctrl, struct nv50_head_atom *asyh) sor507d_ctrl() argument
H A Dwndw.c196 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_release()
200 wndw->func->release(wndw, asyw, asyh); in nv50_wndw_atomic_check_release()
272 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_acquire()
311 if (!asyh->state.async_flip) in nv50_wndw_atomic_check_acquire()
364 return wndw->func->acquire(wndw, asyw, asyh); in nv50_wndw_atomic_check_acquire()
371 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_lut()
373 struct drm_property_blob *ilut = asyh->state.degamma_lut; in nv50_wndw_atomic_check_lut()
387 if (!(ilut = asyh->state.gamma_lut)) { in nv50_wndw_atomic_check_lut()
393 asyh->wndw.olut |= BIT(wndw->id); in nv50_wndw_atomic_check_lut()
395 asyh in nv50_wndw_atomic_check_lut()
194 nv50_wndw_atomic_check_release(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) nv50_wndw_atomic_check_release() argument
269 nv50_wndw_atomic_check_acquire(struct nv50_wndw *wndw, bool modeset, struct nv50_wndw_atom *armw, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) nv50_wndw_atomic_check_acquire() argument
368 nv50_wndw_atomic_check_lut(struct nv50_wndw *wndw, struct nv50_wndw_atom *armw, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) nv50_wndw_atomic_check_lut() argument
446 struct nv50_head_atom *harm = NULL, *asyh = NULL; nv50_wndw_atomic_check() local
539 struct nv50_head_atom *asyh; nv50_wndw_prepare_fb() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c40 struct nv50_head_atom *asyh, bool flush) in nv50_head_flush_clr()
43 .mask = asyh->clr.mask & ~(flush ? 0 : asyh->set.mask), in nv50_head_flush_clr()
52 nv50_head_flush_set_wndw(struct nv50_head *head, struct nv50_head_atom *asyh) in nv50_head_flush_set_wndw() argument
54 if (asyh->set.curs ) head->func->curs_set(head, asyh); in nv50_head_flush_set_wndw()
55 if (asyh->set.olut ) { in nv50_head_flush_set_wndw()
56 asyh->olut.offset = nv50_lut_load(&head->olut, in nv50_head_flush_set_wndw()
57 asyh->olut.buffer, in nv50_head_flush_set_wndw()
58 asyh in nv50_head_flush_set_wndw()
39 nv50_head_flush_clr(struct nv50_head *head, struct nv50_head_atom *asyh, bool flush) nv50_head_flush_clr() argument
65 nv50_head_flush_set(struct nv50_head *head, struct nv50_head_atom *asyh) nv50_head_flush_set() argument
79 nv50_head_atomic_check_procamp(struct nv50_head_atom *armh, struct nv50_head_atom *asyh, struct nouveau_conn_atom *asyc) nv50_head_atomic_check_procamp() argument
92 nv50_head_atomic_check_dither(struct nv50_head_atom *armh, struct nv50_head_atom *asyh, struct nouveau_conn_atom *asyc) nv50_head_atomic_check_dither() argument
121 nv50_head_atomic_check_view(struct nv50_head_atom *armh, struct nv50_head_atom *asyh, struct nouveau_conn_atom *asyc) nv50_head_atomic_check_view() argument
225 nv50_head_atomic_check_lut(struct nv50_head *head, struct nv50_head_atom *asyh) nv50_head_atomic_check_lut() argument
268 nv50_head_atomic_check_mode(struct nv50_head *head, struct nv50_head_atom *asyh) nv50_head_atomic_check_mode() argument
323 struct nv50_head_atom *asyh = nv50_head_atom(state); nv50_head_atomic_check() local
441 struct nv50_head_atom *asyh = nv50_head_atom(state); nv50_head_atomic_destroy_state() local
450 struct nv50_head_atom *asyh; nv50_head_atomic_duplicate_state() local
475 struct nv50_head_atom *asyh; nv50_head_reset() local
[all...]
H A Dhead507d.c30 head507d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_procamp() argument
42 NVVAL(NV507D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in head507d_procamp()
43 NVVAL(NV507D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in head507d_procamp()
49 head507d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_dither() argument
59 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head507d_dither()
60 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head507d_dither()
61 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head507d_dither()
67 head507d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_ovly() argument
74 if (asyh->ovly.cpp) { in head507d_ovly()
75 switch (asyh in head507d_ovly()
95 head507d_base(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_base() argument
140 head507d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_curs_set() argument
163 head507d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) head507d_curs_format() argument
176 head507d_curs_layout(struct nv50_head *head, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) head507d_curs_layout() argument
203 head507d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_core_set() argument
247 head507d_core_calc(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_core_calc() argument
294 head507d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_olut_set() argument
331 head507d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) head507d_olut() argument
346 head507d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_mode() argument
401 head507d_view(struct nv50_head *head, struct nv50_head_atom *asyh) head507d_view() argument
[all...]
H A Dhead907d.c37 head907d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_or() argument
47 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, CRC_MODE, asyh->or.crc_raster) | in head907d_or()
48 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, HSYNC_POLARITY, asyh->or.nhsync) | in head907d_or()
49 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, VSYNC_POLARITY, asyh->or.nvsync) | in head907d_or()
50 NVVAL(NV907D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, PIXEL_DEPTH, asyh->or.depth), in head907d_or()
53 NVVAL(NV907D, HEAD_SET_CONTROL, STRUCTURE, asyh->mode.interlace)); in head907d_or()
58 head907d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_procamp() argument
70 NVVAL(NV907D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in head907d_procamp()
71 NVVAL(NV907D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in head907d_procamp()
78 head907d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_dither() argument
96 head907d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_ovly() argument
125 head907d_base(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_base() argument
172 head907d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_curs_set() argument
210 head907d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_core_set() argument
264 head907d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_olut_set() argument
303 head907d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) head907d_olut() argument
318 head907d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_mode() argument
381 head907d_view(struct nv50_head *head, struct nv50_head_atom *asyh) head907d_view() argument
[all...]
H A Dheadc37d.c31 headc37d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_or() argument
41 switch (asyh->or.depth) { in headc37d_or()
47 depth = asyh->or.depth; in headc37d_or()
56 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, CRC_MODE, asyh->or.crc_raster) | in headc37d_or()
57 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, HSYNC_POLARITY, asyh->or.nhsync) | in headc37d_or()
58 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, VSYNC_POLARITY, asyh->or.nvsync) | in headc37d_or()
65 headc37d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_procamp() argument
77 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) | in headc37d_procamp()
78 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) | in headc37d_procamp()
86 headc37d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_dither() argument
123 headc37d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) headc37d_curs_set() argument
154 headc37d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) headc37d_curs_format() argument
176 headc37d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) headc37d_olut_set() argument
196 headc37d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) headc37d_olut() argument
210 headc37d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) headc37d_mode() argument
255 headc37d_view(struct nv50_head *head, struct nv50_head_atom *asyh) headc37d_view() argument
275 headc37d_static_wndw_map(struct nv50_head *head, struct nv50_head_atom *asyh) headc37d_static_wndw_map() argument
[all...]
H A Dhead827d.c49 head827d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head827d_curs_set() argument
60 NVVAL(NV827D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in head827d_curs_set()
61 NVVAL(NV827D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) | in head827d_curs_set()
67 HEAD_SET_OFFSET_CURSOR(i), asyh->curs.offset >> 8); in head827d_curs_set()
69 PUSH_MTHD(push, NV827D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle); in head827d_curs_set()
74 head827d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head827d_core_set() argument
84 NVVAL(NV827D, HEAD_SET_OFFSET, ORIGIN, asyh->core.offset >> 8)); in head827d_core_set()
87 NVVAL(NV827D, HEAD_SET_SIZE, WIDTH, asyh->core.w) | in head827d_core_set()
88 NVVAL(NV827D, HEAD_SET_SIZE, HEIGHT, asyh->core.h), in head827d_core_set()
91 NVVAL(NV827D, HEAD_SET_STORAGE, BLOCK_HEIGHT, asyh in head827d_core_set()
128 head827d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) head827d_olut_set() argument
[all...]
H A Dhead917d.c31 head917d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head917d_dither() argument
41 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head917d_dither()
42 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head917d_dither()
43 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head917d_dither()
49 head917d_base(struct nv50_head *head, struct nv50_head_atom *asyh) in head917d_base() argument
56 if (asyh->base.cpp) { in head917d_base()
57 switch (asyh->base.cpp) { in head917d_base()
78 head917d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head917d_curs_set() argument
90 NVVAL(NV917D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) | in head917d_curs_set()
91 NVVAL(NV917D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh in head917d_curs_set()
103 head917d_curs_layout(struct nv50_head *head, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) head917d_curs_layout() argument
[all...]
H A Dcrc.c242 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state); in nv50_crc_atomic_stop_reporting() local
245 if (!asyh->clr.crc) in nv50_crc_atomic_stop_reporting()
274 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_init_notifier_contexts() local
278 if (!asyh->set.crc) in nv50_crc_atomic_init_notifier_contexts()
298 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_release_notifier_contexts() local
302 if (!asyh->clr.crc) in nv50_crc_atomic_release_notifier_contexts()
321 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state); in nv50_crc_atomic_start_reporting() local
325 if (!asyh->set.crc) in nv50_crc_atomic_start_reporting()
333 crc->src = asyh->crc.src; in nv50_crc_atomic_start_reporting()
346 struct nv50_head_atom *asyh, in nv50_crc_atomic_check_head()
345 nv50_crc_atomic_check_head(struct nv50_head *head, struct nv50_head_atom *asyh, struct nv50_head_atom *armh) nv50_crc_atomic_check_head() argument
412 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); nv50_crc_atomic_check_outp() local
469 nv50_crc_atomic_set(struct nv50_head *head, struct nv50_head_atom *asyh) nv50_crc_atomic_set() argument
569 struct nv50_head_atom *asyh; nv50_crc_set_source() local
[all...]
H A Dcurs507a.c78 curs507a_prepare(struct nv50_wndw *wndw, struct nv50_head_atom *asyh, in curs507a_prepare() argument
83 if (asyh->curs.handle != handle || asyh->curs.offset != offset) { in curs507a_prepare()
84 asyh->curs.handle = handle; in curs507a_prepare()
85 asyh->curs.offset = offset; in curs507a_prepare()
86 asyh->set.curs = asyh->curs.visible; in curs507a_prepare()
92 struct nv50_head_atom *asyh) in curs507a_release()
94 asyh->curs.visible = false; in curs507a_release()
99 struct nv50_head_atom *asyh) in curs507a_acquire()
91 curs507a_release(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) curs507a_release() argument
98 curs507a_acquire(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) curs507a_acquire() argument
[all...]
H A Dheadc57d.c31 headc57d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in headc57d_or() argument
41 switch (asyh->or.depth) { in headc57d_or()
47 depth = asyh->or.depth; in headc57d_or()
56 NVVAL(NVC57D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, CRC_MODE, asyh->or.crc_raster) | in headc57d_or()
57 NVVAL(NVC57D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, HSYNC_POLARITY, asyh->or.nhsync) | in headc57d_or()
58 NVVAL(NVC57D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, VSYNC_POLARITY, asyh->or.nvsync) | in headc57d_or()
66 headc57d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in headc57d_procamp() argument
98 headc57d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headc57d_olut_set() argument
108 NVVAL(NVC57D, HEAD_SET_OLUT_CONTROL, INTERPOLATE, asyh->olut.output_mode) | in headc57d_olut_set()
110 NVVAL(NVC57D, HEAD_SET_OLUT_CONTROL, MODE, asyh in headc57d_olut_set()
173 headc57d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) headc57d_olut() argument
189 headc57d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) headc57d_mode() argument
[all...]
H A Dpior507d.c31 struct nv50_head_atom *asyh) in pior507d_ctrl()
36 if (asyh) { in pior507d_ctrl()
37 ctrl |= NVVAL(NV507D, PIOR_SET_CONTROL, HSYNC_POLARITY, asyh->or.nhsync); in pior507d_ctrl()
38 ctrl |= NVVAL(NV507D, PIOR_SET_CONTROL, VSYNC_POLARITY, asyh->or.nvsync); in pior507d_ctrl()
39 ctrl |= NVVAL(NV837D, PIOR_SET_CONTROL, PIXEL_DEPTH, asyh->or.depth); in pior507d_ctrl()
30 pior507d_ctrl(struct nv50_core *core, int or, u32 ctrl, struct nv50_head_atom *asyh) pior507d_ctrl() argument
H A Dsor507d.c31 struct nv50_head_atom *asyh) in sor507d_ctrl()
36 if (asyh) { in sor507d_ctrl()
37 ctrl |= NVVAL(NV507D, SOR_SET_CONTROL, HSYNC_POLARITY, asyh->or.nhsync); in sor507d_ctrl()
38 ctrl |= NVVAL(NV507D, SOR_SET_CONTROL, VSYNC_POLARITY, asyh->or.nvsync); in sor507d_ctrl()
39 ctrl |= NVVAL(NV837D, SOR_SET_CONTROL, PIXEL_DEPTH, asyh->or.depth); in sor507d_ctrl()
30 sor507d_ctrl(struct nv50_core *core, int or, u32 ctrl, struct nv50_head_atom *asyh) sor507d_ctrl() argument
H A Dwndw.c193 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_release()
197 wndw->func->release(wndw, asyw, asyh); in nv50_wndw_atomic_check_release()
269 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_acquire()
308 if (!asyh->state.async_flip) in nv50_wndw_atomic_check_acquire()
361 return wndw->func->acquire(wndw, asyw, asyh); in nv50_wndw_atomic_check_acquire()
368 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_lut()
370 struct drm_property_blob *ilut = asyh->state.degamma_lut; in nv50_wndw_atomic_check_lut()
384 if (!(ilut = asyh->state.gamma_lut)) { in nv50_wndw_atomic_check_lut()
390 asyh->wndw.olut |= BIT(wndw->id); in nv50_wndw_atomic_check_lut()
392 asyh in nv50_wndw_atomic_check_lut()
191 nv50_wndw_atomic_check_release(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) nv50_wndw_atomic_check_release() argument
266 nv50_wndw_atomic_check_acquire(struct nv50_wndw *wndw, bool modeset, struct nv50_wndw_atom *armw, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) nv50_wndw_atomic_check_acquire() argument
365 nv50_wndw_atomic_check_lut(struct nv50_wndw *wndw, struct nv50_wndw_atom *armw, struct nv50_wndw_atom *asyw, struct nv50_head_atom *asyh) nv50_wndw_atomic_check_lut() argument
443 struct nv50_head_atom *harm = NULL, *asyh = NULL; nv50_wndw_atomic_check() local
536 struct nv50_head_atom *asyh; nv50_wndw_prepare_fb() local
[all...]
H A Ddac507d.c30 struct nv50_head_atom *asyh) in dac507d_ctrl()
36 if (asyh) { in dac507d_ctrl()
37 sync |= NVVAL(NV507D, DAC_SET_POLARITY, HSYNC, asyh->or.nhsync); in dac507d_ctrl()
38 sync |= NVVAL(NV507D, DAC_SET_POLARITY, VSYNC, asyh->or.nvsync); in dac507d_ctrl()
29 dac507d_ctrl(struct nv50_core *core, int or, u32 ctrl, struct nv50_head_atom *asyh) dac507d_ctrl() argument

Completed in 11 milliseconds

12