Lines Matching refs:crtc
28 struct intel_crtc *crtc = intel_crtc_for_pipe(dev_priv, pipe); in intel_handle_vblank() local
30 drm_crtc_handle_vblank(&crtc->base); in intel_handle_vblank()
303 struct intel_crtc *crtc = intel_crtc_for_pipe(dev_priv, pipe); in display_pipe_crc_irq_handler() local
304 struct intel_pipe_crc *pipe_crc = &crtc->pipe_crc; in display_pipe_crc_irq_handler()
307 trace_intel_pipe_crc(crtc, crcs); in display_pipe_crc_irq_handler()
326 drm_crtc_add_crc_entry(&crtc->base, true, in display_pipe_crc_irq_handler()
327 drm_crtc_accurate_vblank_count(&crtc->base), in display_pipe_crc_irq_handler()
342 struct intel_crtc *crtc = intel_crtc_for_pipe(i915, pipe); in flip_done_handler() local
343 struct drm_crtc_state *crtc_state = crtc->base.state; in flip_done_handler()
352 drm_crtc_send_vblank_event(&crtc->base, e); in flip_done_handler()
1192 int i8xx_enable_vblank(struct drm_crtc *crtc) in i8xx_enable_vblank() argument
1194 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in i8xx_enable_vblank()
1195 enum pipe pipe = to_intel_crtc(crtc)->pipe; in i8xx_enable_vblank()
1205 int i915gm_enable_vblank(struct drm_crtc *crtc) in i915gm_enable_vblank() argument
1207 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in i915gm_enable_vblank()
1218 return i8xx_enable_vblank(crtc); in i915gm_enable_vblank()
1221 int i965_enable_vblank(struct drm_crtc *crtc) in i965_enable_vblank() argument
1223 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in i965_enable_vblank()
1224 enum pipe pipe = to_intel_crtc(crtc)->pipe; in i965_enable_vblank()
1235 int ilk_enable_vblank(struct drm_crtc *crtc) in ilk_enable_vblank() argument
1237 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in ilk_enable_vblank()
1238 enum pipe pipe = to_intel_crtc(crtc)->pipe; in ilk_enable_vblank()
1251 drm_crtc_vblank_restore(crtc); in ilk_enable_vblank()
1282 struct intel_crtc *crtc = to_intel_crtc(_crtc); in bdw_enable_vblank() local
1283 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in bdw_enable_vblank()
1284 enum pipe pipe = crtc->pipe; in bdw_enable_vblank()
1287 if (gen11_dsi_configure_te(crtc, true)) in bdw_enable_vblank()
1298 drm_crtc_vblank_restore(&crtc->base); in bdw_enable_vblank()
1306 void i8xx_disable_vblank(struct drm_crtc *crtc) in i8xx_disable_vblank() argument
1308 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in i8xx_disable_vblank()
1309 enum pipe pipe = to_intel_crtc(crtc)->pipe; in i8xx_disable_vblank()
1317 void i915gm_disable_vblank(struct drm_crtc *crtc) in i915gm_disable_vblank() argument
1319 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in i915gm_disable_vblank()
1321 i8xx_disable_vblank(crtc); in i915gm_disable_vblank()
1327 void i965_disable_vblank(struct drm_crtc *crtc) in i965_disable_vblank() argument
1329 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in i965_disable_vblank()
1330 enum pipe pipe = to_intel_crtc(crtc)->pipe; in i965_disable_vblank()
1339 void ilk_disable_vblank(struct drm_crtc *crtc) in ilk_disable_vblank() argument
1341 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in ilk_disable_vblank()
1342 enum pipe pipe = to_intel_crtc(crtc)->pipe; in ilk_disable_vblank()
1354 struct intel_crtc *crtc = to_intel_crtc(_crtc); in bdw_disable_vblank() local
1355 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in bdw_disable_vblank()
1356 enum pipe pipe = crtc->pipe; in bdw_disable_vblank()
1359 if (gen11_dsi_configure_te(crtc, false)) in bdw_disable_vblank()