Lines Matching refs:crtc_state

83 		  struct vkms_crtc_state *crtc_state,  in blend()  argument
87 struct vkms_plane_state **plane = crtc_state->active_planes; in blend()
88 u32 n_active_planes = crtc_state->num_active_planes; in blend()
92 size_t crtc_y_limit = crtc_state->base.crtc->mode.vdisplay; in blend()
114 static int check_format_funcs(struct vkms_crtc_state *crtc_state, in check_format_funcs() argument
117 struct vkms_plane_state **planes = crtc_state->active_planes; in check_format_funcs()
118 u32 n_active_planes = crtc_state->num_active_planes; in check_format_funcs()
130 static int check_iosys_map(struct vkms_crtc_state *crtc_state) in check_iosys_map() argument
132 struct vkms_plane_state **plane_state = crtc_state->active_planes; in check_iosys_map()
133 u32 n_active_planes = crtc_state->num_active_planes; in check_iosys_map()
143 struct vkms_crtc_state *crtc_state, in compose_active_planes() argument
158 if (WARN_ON(check_iosys_map(crtc_state))) in compose_active_planes()
161 if (WARN_ON(check_format_funcs(crtc_state, active_wb))) in compose_active_planes()
164 line_width = crtc_state->base.crtc->mode.hdisplay; in compose_active_planes()
181 blend(active_wb, crtc_state, crc32, &stage_buffer, in compose_active_planes()
202 struct vkms_crtc_state *crtc_state = container_of(work, in vkms_composer_worker() local
205 struct drm_crtc *crtc = crtc_state->base.crtc; in vkms_composer_worker()
206 struct vkms_writeback_job *active_wb = crtc_state->active_writeback; in vkms_composer_worker()
214 frame_start = crtc_state->frame_start; in vkms_composer_worker()
215 frame_end = crtc_state->frame_end; in vkms_composer_worker()
216 crc_pending = crtc_state->crc_pending; in vkms_composer_worker()
217 wb_pending = crtc_state->wb_pending; in vkms_composer_worker()
218 crtc_state->frame_start = 0; in vkms_composer_worker()
219 crtc_state->frame_end = 0; in vkms_composer_worker()
220 crtc_state->crc_pending = false; in vkms_composer_worker()
231 ret = compose_active_planes(active_wb, crtc_state, &crc32); in vkms_composer_worker()
233 ret = compose_active_planes(NULL, crtc_state, &crc32); in vkms_composer_worker()
241 crtc_state->wb_pending = false; in vkms_composer_worker()