Lines Matching refs:pfit_control
303 u32 *pfit_control) in i965_scale_aspect() argument
314 *pfit_control |= PFIT_ENABLE | in i965_scale_aspect()
317 *pfit_control |= PFIT_ENABLE | in i965_scale_aspect()
320 *pfit_control |= PFIT_ENABLE | PFIT_SCALING_AUTO; in i965_scale_aspect()
324 u32 *pfit_control, u32 *pfit_pgm_ratios, in i9xx_scale_aspect() argument
351 *pfit_control |= (PFIT_ENABLE | in i9xx_scale_aspect()
367 *pfit_control |= (PFIT_ENABLE | in i9xx_scale_aspect()
373 *pfit_control |= (PFIT_ENABLE | in i9xx_scale_aspect()
385 u32 pfit_control = 0, pfit_pgm_ratios = 0, border = 0; in intel_gmch_panel_fitting() local
406 i965_scale_aspect(crtc_state, &pfit_control); in intel_gmch_panel_fitting()
408 i9xx_scale_aspect(crtc_state, &pfit_control, in intel_gmch_panel_fitting()
418 pfit_control |= PFIT_ENABLE; in intel_gmch_panel_fitting()
420 pfit_control |= PFIT_SCALING_AUTO; in intel_gmch_panel_fitting()
422 pfit_control |= (VERT_AUTO_SCALE | in intel_gmch_panel_fitting()
436 pfit_control |= PFIT_PIPE(crtc->pipe) | PFIT_FILTER_FUZZY; in intel_gmch_panel_fitting()
439 if ((pfit_control & PFIT_ENABLE) == 0) { in intel_gmch_panel_fitting()
440 pfit_control = 0; in intel_gmch_panel_fitting()
446 pfit_control |= PANEL_8TO6_DITHER_ENABLE; in intel_gmch_panel_fitting()
448 crtc_state->gmch_pfit.control = pfit_control; in intel_gmch_panel_fitting()