Lines Matching refs:tidss

27 	struct tidss_device *tidss = to_tidss(ddev);  in tidss_crtc_finish_page_flip()  local
40 busy = dispc_vp_go_busy(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_finish_page_flip()
91 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_atomic_check() local
92 struct dispc_device *dispc = tidss->dispc; in tidss_crtc_atomic_check()
120 static void tidss_crtc_position_planes(struct tidss_device *tidss, in tidss_crtc_position_planes() argument
134 for (layer = 0; layer < tidss->feat->num_planes; layer++) { in tidss_crtc_position_planes()
153 dispc_ovr_set_plane(tidss->dispc, tplane->hw_plane_id, in tidss_crtc_position_planes()
158 dispc_ovr_enable_layer(tidss->dispc, tcrtc->hw_videoport, layer, in tidss_crtc_position_planes()
168 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_atomic_flush() local
188 if (WARN_ON(dispc_vp_go_busy(tidss->dispc, tcrtc->hw_videoport))) in tidss_crtc_atomic_flush()
196 dispc_vp_setup(tidss->dispc, tcrtc->hw_videoport, crtc->state, false); in tidss_crtc_atomic_flush()
199 tidss_crtc_position_planes(tidss, crtc, old_crtc_state, false); in tidss_crtc_atomic_flush()
204 dispc_vp_go(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_atomic_flush()
219 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_atomic_enable() local
226 tidss_runtime_get(tidss); in tidss_crtc_atomic_enable()
228 r = dispc_vp_set_clk_rate(tidss->dispc, tcrtc->hw_videoport, in tidss_crtc_atomic_enable()
233 r = dispc_vp_enable_clk(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_atomic_enable()
237 dispc_vp_setup(tidss->dispc, tcrtc->hw_videoport, crtc->state, true); in tidss_crtc_atomic_enable()
238 tidss_crtc_position_planes(tidss, crtc, old_state, true); in tidss_crtc_atomic_enable()
243 dispc_vp_prepare(tidss->dispc, tcrtc->hw_videoport, crtc->state); in tidss_crtc_atomic_enable()
245 dispc_vp_enable(tidss->dispc, tcrtc->hw_videoport, crtc->state); in tidss_crtc_atomic_enable()
262 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_atomic_disable() local
269 dispc_vp_disable(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_atomic_disable()
273 dev_err(tidss->dev, "Timeout waiting for framedone on crtc %d", in tidss_crtc_atomic_disable()
276 dispc_vp_unprepare(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_atomic_disable()
287 dispc_vp_disable_clk(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_atomic_disable()
289 tidss_runtime_put(tidss); in tidss_crtc_atomic_disable()
298 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_mode_valid() local
300 return dispc_vp_mode_valid(tidss->dispc, tcrtc->hw_videoport, mode); in tidss_crtc_mode_valid()
317 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_enable_vblank() local
321 tidss_runtime_get(tidss); in tidss_crtc_enable_vblank()
331 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_disable_vblank() local
337 tidss_runtime_put(tidss); in tidss_crtc_disable_vblank()
400 struct tidss_crtc *tidss_crtc_create(struct tidss_device *tidss, in tidss_crtc_create() argument
407 bool has_ctm = tidss->feat->vp_feat.color.has_ctm; in tidss_crtc_create()
419 ret = drm_crtc_init_with_planes(&tidss->ddev, crtc, primary, in tidss_crtc_create()
433 if (tidss->feat->vp_feat.color.gamma_size) in tidss_crtc_create()