Lines Matching refs:asyh

31 headc37d_or(struct nv50_head *head, struct nv50_head_atom *asyh)
41 switch (asyh->or.depth) {
47 depth = asyh->or.depth;
56 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, CRC_MODE, asyh->or.crc_raster) |
57 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, HSYNC_POLARITY, asyh->or.nhsync) |
58 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, VSYNC_POLARITY, asyh->or.nvsync) |
65 headc37d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh)
77 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_COS, asyh->procamp.sat.cos) |
78 NVVAL(NVC37D, HEAD_SET_PROCAMP, SAT_SINE, asyh->procamp.sat.sin) |
86 headc37d_dither(struct nv50_head *head, struct nv50_head_atom *asyh)
96 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) |
97 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) |
99 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) |
123 headc37d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh)
134 NVVAL(NVC37D, HEAD_SET_CONTROL_CURSOR, FORMAT, asyh->curs.format) |
135 NVVAL(NVC37D, HEAD_SET_CONTROL_CURSOR, SIZE, asyh->curs.layout) |
148 PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_CURSOR(i, 0), asyh->curs.handle);
149 PUSH_MTHD(push, NVC37D, HEAD_SET_OFFSET_CURSOR(i, 0), asyh->curs.offset >> 8);
155 struct nv50_head_atom *asyh)
157 asyh->curs.format = asyw->image.format;
176 headc37d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh)
186 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_LUT, SIZE, asyh->olut.size) |
187 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_LUT, RANGE, asyh->olut.range) |
188 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_LUT, OUTPUT_MODE, asyh->olut.output_mode),
190 HEAD_SET_OFFSET_OUTPUT_LUT(i), asyh->olut.offset >> 8,
191 HEAD_SET_CONTEXT_DMA_OUTPUT_LUT(i), asyh->olut.handle);
196 headc37d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size)
201 asyh->olut.size = size == 1024 ? NVC37D_HEAD_SET_CONTROL_OUTPUT_LUT_SIZE_SIZE_1025 :
203 asyh->olut.range = NVC37D_HEAD_SET_CONTROL_OUTPUT_LUT_RANGE_UNITY;
204 asyh->olut.output_mode = NVC37D_HEAD_SET_CONTROL_OUTPUT_LUT_OUTPUT_MODE_INTERPOLATE;
205 asyh->olut.load = head907d_olut_load;
210 headc37d_mode(struct nv50_head *head, struct nv50_head_atom *asyh)
213 struct nv50_head_mode *m = &asyh->mode;
255 headc37d_view(struct nv50_head *head, struct nv50_head_atom *asyh)
265 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) |
266 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_IN, HEIGHT, asyh->view.iH));
269 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_OUT, WIDTH, asyh->view.oW) |
270 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_OUT, HEIGHT, asyh->view.oH));
275 headc37d_static_wndw_map(struct nv50_head *head, struct nv50_head_atom *asyh)
280 asyh->wndw.owned |= BIT(i);