Lines Matching refs:asyw

40 wndwc37e_csc_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw)  in wndwc37e_csc_set()  argument
48 PUSH_MTHD(push, NVC37E, SET_CSC_RED2RED, asyw->csc.matrix, 12); in wndwc37e_csc_set()
66 wndwc37e_ilut_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_ilut_set() argument
75 NVVAL(NVC37E, SET_CONTROL_INPUT_LUT, OUTPUT_MODE, asyw->xlut.i.output_mode) | in wndwc37e_ilut_set()
76 NVVAL(NVC37E, SET_CONTROL_INPUT_LUT, RANGE, asyw->xlut.i.range) | in wndwc37e_ilut_set()
77 NVVAL(NVC37E, SET_CONTROL_INPUT_LUT, SIZE, asyw->xlut.i.size), in wndwc37e_ilut_set()
79 SET_OFFSET_INPUT_LUT, asyw->xlut.i.offset >> 8, in wndwc37e_ilut_set()
80 SET_CONTEXT_DMA_INPUT_LUT, asyw->xlut.handle); in wndwc37e_ilut_set()
85 wndwc37e_ilut(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, int size) in wndwc37e_ilut() argument
87 asyw->xlut.i.size = size == 1024 ? NVC37E_SET_CONTROL_INPUT_LUT_SIZE_SIZE_1025 : in wndwc37e_ilut()
89 asyw->xlut.i.range = NVC37E_SET_CONTROL_INPUT_LUT_RANGE_UNITY; in wndwc37e_ilut()
90 asyw->xlut.i.output_mode = NVC37E_SET_CONTROL_INPUT_LUT_OUTPUT_MODE_INTERPOLATE; in wndwc37e_ilut()
91 asyw->xlut.i.load = head907d_olut_load; in wndwc37e_ilut()
95 wndwc37e_blend_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_blend_set() argument
105 NVVAL(NVC37E, SET_COMPOSITION_CONTROL, DEPTH, asyw->blend.depth), in wndwc37e_blend_set()
108 NVVAL(NVC37E, SET_COMPOSITION_CONSTANT_ALPHA, K1, asyw->blend.k1) | in wndwc37e_blend_set()
113 asyw->blend.src_color) | in wndwc37e_blend_set()
115 asyw->blend.src_color) | in wndwc37e_blend_set()
117 asyw->blend.dst_color) | in wndwc37e_blend_set()
119 asyw->blend.dst_color), in wndwc37e_blend_set()
157 wndwc37e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_image_set() argument
166 NVVAL(NVC37E, SET_PRESENT_CONTROL, MIN_PRESENT_INTERVAL, asyw->image.interval) | in wndwc37e_image_set()
167 NVVAL(NVC37E, SET_PRESENT_CONTROL, BEGIN_MODE, asyw->image.mode) | in wndwc37e_image_set()
171 NVVAL(NVC37E, SET_SIZE, WIDTH, asyw->image.w) | in wndwc37e_image_set()
172 NVVAL(NVC37E, SET_SIZE, HEIGHT, asyw->image.h), in wndwc37e_image_set()
175 NVVAL(NVC37E, SET_STORAGE, BLOCK_HEIGHT, asyw->image.blockh) | in wndwc37e_image_set()
176 NVVAL(NVC37E, SET_STORAGE, MEMORY_LAYOUT, asyw->image.layout), in wndwc37e_image_set()
179 NVVAL(NVC37E, SET_PARAMS, FORMAT, asyw->image.format) | in wndwc37e_image_set()
180 NVVAL(NVC37E, SET_PARAMS, COLOR_SPACE, asyw->image.colorspace) | in wndwc37e_image_set()
184 NVVAL(NVC37E, SET_PARAMS, CSC, asyw->csc.valid) | in wndwc37e_image_set()
189 NVVAL(NVC37E, SET_PLANAR_STORAGE, PITCH, asyw->image.blocks[0]) | in wndwc37e_image_set()
190 NVVAL(NVC37E, SET_PLANAR_STORAGE, PITCH, asyw->image.pitch[0] >> 6)); in wndwc37e_image_set()
192 PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_ISO(0), asyw->image.handle, 1); in wndwc37e_image_set()
193 PUSH_MTHD(push, NVC37E, SET_OFFSET(0), asyw->image.offset[0] >> 8); in wndwc37e_image_set()
196 NVVAL(NVC37E, SET_POINT_IN, X, asyw->state.src_x >> 16) | in wndwc37e_image_set()
197 NVVAL(NVC37E, SET_POINT_IN, Y, asyw->state.src_y >> 16)); in wndwc37e_image_set()
200 NVVAL(NVC37E, SET_SIZE_IN, WIDTH, asyw->state.src_w >> 16) | in wndwc37e_image_set()
201 NVVAL(NVC37E, SET_SIZE_IN, HEIGHT, asyw->state.src_h >> 16)); in wndwc37e_image_set()
204 NVVAL(NVC37E, SET_SIZE_OUT, WIDTH, asyw->state.crtc_w) | in wndwc37e_image_set()
205 NVVAL(NVC37E, SET_SIZE_OUT, HEIGHT, asyw->state.crtc_h)); in wndwc37e_image_set()
223 wndwc37e_ntfy_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_ntfy_set() argument
231 PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_NOTIFIER, asyw->ntfy.handle, in wndwc37e_ntfy_set()
234 NVVAL(NVC37E, SET_NOTIFIER_CONTROL, MODE, asyw->ntfy.awaken) | in wndwc37e_ntfy_set()
235 NVVAL(NVC37E, SET_NOTIFIER_CONTROL, OFFSET, asyw->ntfy.offset >> 4)); in wndwc37e_ntfy_set()
253 wndwc37e_sema_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw) in wndwc37e_sema_set() argument
261 PUSH_MTHD(push, NVC37E, SET_SEMAPHORE_CONTROL, asyw->sema.offset, in wndwc37e_sema_set()
262 SET_SEMAPHORE_ACQUIRE, asyw->sema.acquire, in wndwc37e_sema_set()
263 SET_SEMAPHORE_RELEASE, asyw->sema.release, in wndwc37e_sema_set()
264 SET_CONTEXT_DMA_SEMAPHORE, asyw->sema.handle); in wndwc37e_sema_set()
289 wndwc37e_release(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, in wndwc37e_release() argument
295 wndwc37e_acquire(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw, in wndwc37e_acquire() argument
298 return drm_atomic_helper_check_plane_state(&asyw->state, &asyh->state, in wndwc37e_acquire()