Home
last modified time | relevance | path

Searched refs:pfit_control (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/gma500/
Dcdv_intel_lvds.c346 u32 pfit_control; in cdv_intel_lvds_mode_set() local
361 pfit_control = (PFIT_ENABLE | VERT_AUTO_SCALE | in cdv_intel_lvds_mode_set()
365 pfit_control = 0; in cdv_intel_lvds_mode_set()
367 pfit_control |= gma_crtc->pipe << PFIT_PIPE_SHIFT; in cdv_intel_lvds_mode_set()
370 pfit_control |= PANEL_8TO6_DITHER_ENABLE; in cdv_intel_lvds_mode_set()
372 REG_WRITE(PFIT_CONTROL, pfit_control); in cdv_intel_lvds_mode_set()
Dpsb_intel_lvds.c461 u32 pfit_control; in psb_intel_lvds_mode_set() local
476 pfit_control = (PFIT_ENABLE | VERT_AUTO_SCALE | in psb_intel_lvds_mode_set()
480 pfit_control = 0; in psb_intel_lvds_mode_set()
483 pfit_control |= PANEL_8TO6_DITHER_ENABLE; in psb_intel_lvds_mode_set()
485 REG_WRITE(PFIT_CONTROL, pfit_control); in psb_intel_lvds_mode_set()
Doaktrail_crtc.c344 u32 pfit_control; in oaktrail_panel_fitter_pipe() local
346 pfit_control = REG_READ(PFIT_CONTROL); in oaktrail_panel_fitter_pipe()
349 if ((pfit_control & PFIT_ENABLE) == 0) in oaktrail_panel_fitter_pipe()
351 return (pfit_control >> 29) & 3; in oaktrail_panel_fitter_pipe()
Dpsb_intel_display.c80 u32 pfit_control; in psb_intel_panel_fitter_pipe() local
82 pfit_control = REG_READ(PFIT_CONTROL); in psb_intel_panel_fitter_pipe()
85 if ((pfit_control & PFIT_ENABLE) == 0) in psb_intel_panel_fitter_pipe()
Dcdv_intel_display.c558 u32 pfit_control; in cdv_intel_panel_fitter_pipe() local
560 pfit_control = REG_READ(PFIT_CONTROL); in cdv_intel_panel_fitter_pipe()
563 if ((pfit_control & PFIT_ENABLE) == 0) in cdv_intel_panel_fitter_pipe()
565 return (pfit_control >> 29) & 0x3; in cdv_intel_panel_fitter_pipe()
Dmdfld_intel_display.c104 u32 pfit_control; in psb_intel_panel_fitter_pipe() local
106 pfit_control = REG_READ(PFIT_CONTROL); in psb_intel_panel_fitter_pipe()
109 if ((pfit_control & PFIT_ENABLE) == 0) in psb_intel_panel_fitter_pipe()
113 return (pfit_control >> 29) & 0x3; in psb_intel_panel_fitter_pipe()
Dcdv_intel_dp.c1092 uint32_t pfit_control; in cdv_intel_dp_mode_set() local
1097 pfit_control = PFIT_ENABLE; in cdv_intel_dp_mode_set()
1099 pfit_control = 0; in cdv_intel_dp_mode_set()
1101 pfit_control |= gma_crtc->pipe << PFIT_PIPE_SHIFT; in cdv_intel_dp_mode_set()
1103 REG_WRITE(PFIT_CONTROL, pfit_control); in cdv_intel_dp_mode_set()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_panel.c301 u32 *pfit_control) in i965_scale_aspect() argument
311 *pfit_control |= PFIT_ENABLE | in i965_scale_aspect()
314 *pfit_control |= PFIT_ENABLE | in i965_scale_aspect()
317 *pfit_control |= PFIT_ENABLE | PFIT_SCALING_AUTO; in i965_scale_aspect()
321 u32 *pfit_control, u32 *pfit_pgm_ratios, in i9xx_scale_aspect() argument
348 *pfit_control |= (PFIT_ENABLE | in i9xx_scale_aspect()
364 *pfit_control |= (PFIT_ENABLE | in i9xx_scale_aspect()
370 *pfit_control |= (PFIT_ENABLE | in i9xx_scale_aspect()
382 u32 pfit_control = 0, pfit_pgm_ratios = 0, border = 0; in intel_gmch_panel_fitting() local
403 i965_scale_aspect(pipe_config, &pfit_control); in intel_gmch_panel_fitting()
[all …]
Dintel_overlay.c890 u32 pfit_control = I915_READ(PFIT_CONTROL); in update_pfit_vscale_ratio() local
900 if (pfit_control & VERT_AUTO_SCALE) in update_pfit_vscale_ratio()