/linux-3.4.99/drivers/gpu/drm/i915/ |
D | intel_display.c | 1577 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in i8xx_enable_fbc() local 1588 plane = intel_crtc->plane == 0 ? FBC_CTL_PLANEA : FBC_CTL_PLANEB; in i8xx_enable_fbc() 1610 cfb_pitch, crtc->y, intel_crtc->plane); in i8xx_enable_fbc() 1627 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in g4x_enable_fbc() local 1628 int plane = intel_crtc->plane == 0 ? DPFC_CTL_PLANEA : DPFC_CTL_PLANEB; in g4x_enable_fbc() 1644 DRM_DEBUG_KMS("enabled fbc on plane %d\n", intel_crtc->plane); in g4x_enable_fbc() 1696 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in ironlake_enable_fbc() local 1697 int plane = intel_crtc->plane == 0 ? DPFC_CTL_PLANEA : DPFC_CTL_PLANEB; in ironlake_enable_fbc() 1724 DRM_DEBUG_KMS("enabled fbc on plane %d\n", intel_crtc->plane); in ironlake_enable_fbc() 1887 struct intel_crtc *intel_crtc; in intel_update_fbc() local [all …]
|
D | intel_hdmi.c | 161 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in ironlake_write_infoframe() local 162 int reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in ironlake_write_infoframe() 166 intel_wait_for_vblank(dev, intel_crtc->pipe); in ironlake_write_infoframe() 176 I915_WRITE(TVIDEO_DIP_DATA(intel_crtc->pipe), *data); in ironlake_write_infoframe() 231 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_hdmi_mode_set() local 243 if (intel_crtc->bpp > 24) in intel_hdmi_mode_set() 254 pipe_name(intel_crtc->pipe)); in intel_hdmi_mode_set() 261 sdvox |= PORT_TRANS_SEL_CPT(intel_crtc->pipe); in intel_hdmi_mode_set() 262 else if (intel_crtc->pipe == 1) in intel_hdmi_mode_set()
|
D | intel_sprite.c | 318 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_enable_primary() local 319 int reg = DSPCNTR(intel_crtc->plane); in intel_enable_primary() 329 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_disable_primary() local 330 int reg = DSPCNTR(intel_crtc->plane); in intel_disable_primary() 398 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_update_plane() local 424 if (intel_plane->pipe != intel_crtc->pipe) in intel_update_plane()
|
D | intel_crt.c | 127 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_crt_mode_set() local 133 dpll_md_reg = DPLL_MD(intel_crtc->pipe); in intel_crt_mode_set() 158 adpa |= PORT_TRANS_SEL_CPT(intel_crtc->pipe); in intel_crt_mode_set() 159 else if (intel_crtc->pipe == 0) in intel_crt_mode_set() 165 I915_WRITE(BCLRPAT(intel_crtc->pipe), 0); in intel_crt_mode_set()
|
D | intel_tv.c | 924 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_tv_mode_set() local 935 int pipe = intel_crtc->pipe; in intel_tv_mode_set() 1007 if (intel_crtc->pipe == 1) in intel_tv_mode_set() 1080 int dspcntr_reg = DSPCNTR(intel_crtc->plane); in intel_tv_mode_set() 1083 int dspbase_reg = DSPADDR(intel_crtc->plane); in intel_tv_mode_set() 1093 intel_wait_for_vblank(dev, intel_crtc->pipe); in intel_tv_mode_set() 1097 intel_wait_for_pipe_off(dev, intel_crtc->pipe); in intel_tv_mode_set() 1166 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_tv_detect_type() local 1189 if (intel_crtc->pipe == 1) in intel_tv_detect_type()
|
D | intel_dp.c | 788 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_dp_set_m_n() local 791 int pipe = intel_crtc->pipe; in intel_dp_set_m_n() 816 intel_dp_compute_m_n(intel_crtc->bpp, lane_count, in intel_dp_set_m_n() 847 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_dp_mode_set() local 897 pipe_name(intel_crtc->pipe)); in intel_dp_mode_set() 925 intel_dp->DP |= intel_crtc->pipe << 29; in intel_dp_mode_set() 945 if (intel_crtc->pipe == 1) in intel_dp_mode_set() 1296 struct intel_crtc *intel_crtc = to_intel_crtc(intel_dp->base.base.crtc); in intel_dp_commit() local 1309 intel_cpt_verify_modeset(dev, intel_crtc->pipe); in intel_dp_commit() 1687 struct intel_crtc *intel_crtc = to_intel_crtc(intel_dp->base.base.crtc); in intel_dp_start_link_train() local [all …]
|
D | intel_dvo.c | 175 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->crtc); in intel_dvo_mode_set() local 177 int pipe = intel_crtc->pipe; in intel_dvo_mode_set()
|
D | intel_lvds.c | 236 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->crtc); in intel_lvds_mode_fixup() local 243 if (INTEL_INFO(dev)->gen < 4 && intel_crtc->pipe == 0) { in intel_lvds_mode_fixup() 278 pfit_control |= ((intel_crtc->pipe << PFIT_PIPE_SHIFT) | in intel_lvds_mode_fixup()
|
D | intel_drv.h | 153 struct intel_crtc { struct 199 #define to_intel_crtc(x) container_of(x, struct intel_crtc, base)
|
D | i915_irq.c | 1241 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in i915_pageflip_stall_check() local 1248 if (intel_crtc == NULL) in i915_pageflip_stall_check() 1252 work = intel_crtc->unpin_work; in i915_pageflip_stall_check() 1265 int dspsurf = DSPSURF(intel_crtc->plane); in i915_pageflip_stall_check() 1268 int dspaddr = DSPADDR(intel_crtc->plane); in i915_pageflip_stall_check() 1278 intel_prepare_page_flip(dev, intel_crtc->plane); in i915_pageflip_stall_check()
|
D | intel_sdvo.c | 1033 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_sdvo_mode_set() local 1124 sdvox |= TRANSCODER_CPT(intel_crtc->pipe); in intel_sdvo_mode_set() 1126 sdvox |= TRANSCODER(intel_crtc->pipe); in intel_sdvo_mode_set() 1150 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->crtc); in intel_sdvo_dpms() local 1173 intel_wait_for_vblank(dev, intel_crtc->pipe); in intel_sdvo_dpms()
|
D | intel_overlay.c | 173 struct intel_crtc *crtc; 242 struct intel_crtc *crtc; in i830_activate_pipe_a() 902 struct intel_crtc *crtc) in check_overlay_possible_on_crtc() 1115 struct intel_crtc *crtc; in intel_overlay_put_image()
|
D | i915_debugfs.c | 331 struct intel_crtc *crtc; in i915_gem_pageflip_info()
|
/linux-3.4.99/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 525 struct psb_intel_crtc *intel_crtc = to_psb_intel_crtc(crtc); in psbfb_gamma_set() local 527 intel_crtc->lut_r[regno] = red >> 8; in psbfb_gamma_set() 528 intel_crtc->lut_g[regno] = green >> 8; in psbfb_gamma_set() 529 intel_crtc->lut_b[regno] = blue >> 8; in psbfb_gamma_set() 535 struct psb_intel_crtc *intel_crtc = to_psb_intel_crtc(crtc); in psbfb_gamma_get() local 537 *red = intel_crtc->lut_r[regno] << 8; in psbfb_gamma_get() 538 *green = intel_crtc->lut_g[regno] << 8; in psbfb_gamma_get() 539 *blue = intel_crtc->lut_b[regno] << 8; in psbfb_gamma_get()
|
D | cdv_intel_hdmi.c | 71 struct psb_intel_crtc *intel_crtc = to_psb_intel_crtc(crtc); in cdv_hdmi_mode_set() local 80 if (intel_crtc->pipe == 1) in cdv_hdmi_mode_set()
|