Searched refs:scaler_state (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_atomic.c139 struct intel_crtc_scaler_state *scaler_state = intel_atomic_setup_scalers() local
140 &crtc_state->scaler_state; intel_atomic_setup_scalers()
145 num_scalers_need = hweight32(scaler_state->scaler_users); intel_atomic_setup_scalers()
149 * - staged scaler requests are already in scaler_state->scaler_users intel_atomic_setup_scalers()
167 for (i = 0; i < sizeof(scaler_state->scaler_users) * 8; i++) { intel_atomic_setup_scalers()
173 if (!(scaler_state->scaler_users & (1 << i))) intel_atomic_setup_scalers()
181 scaler_id = &scaler_state->scaler_id; intel_atomic_setup_scalers()
228 if (!scaler_state->scalers[j].in_use) { intel_atomic_setup_scalers()
229 scaler_state->scalers[j].in_use = 1; intel_atomic_setup_scalers()
251 scaler_state->scalers[0].in_use = 1; intel_atomic_setup_scalers()
252 scaler_state->scalers[0].mode = PS_SCALER_MODE_HQ; intel_atomic_setup_scalers()
253 scaler_state->scalers[1].in_use = 0; intel_atomic_setup_scalers()
255 scaler_state->scalers[*scaler_id].mode = PS_SCALER_MODE_DYN; intel_atomic_setup_scalers()
H A Dintel_display.c2994 struct intel_crtc_scaler_state *scaler_state; skl_detach_scalers() local
2997 scaler_state = &intel_crtc->config->scaler_state; skl_detach_scalers()
3001 if (!scaler_state->scalers[i].in_use) skl_detach_scalers()
3177 crtc_state->scaler_state.scalers[scaler_id].mode; skylake_update_primary_plane()
4376 struct intel_crtc_scaler_state *scaler_state = skl_update_scaler() local
4377 &crtc_state->scaler_state; skl_update_scaler()
4398 scaler_state->scaler_users &= ~(1 << scaler_user); skl_update_scaler()
4399 scaler_state->scalers[*scaler_id].in_use = 0; skl_update_scaler()
4404 scaler_state->scaler_users); skl_update_scaler()
4423 scaler_state->scaler_users |= (1 << scaler_user); skl_update_scaler()
4427 scaler_state->scaler_users); skl_update_scaler()
4450 &state->scaler_state.scaler_id, BIT(DRM_ROTATE_0), skl_update_scaler_crtc()
4536 struct intel_crtc_scaler_state *scaler_state = skylake_pfit_enable() local
4537 &crtc->config->scaler_state; skylake_pfit_enable()
4544 if (WARN_ON(crtc->config->scaler_state.scaler_id < 0)) { skylake_pfit_enable()
4549 id = scaler_state->scaler_id; skylake_pfit_enable()
4551 PS_FILTER_MEDIUM | scaler_state->scalers[id].mode); skylake_pfit_enable()
9058 struct intel_crtc_scaler_state *scaler_state = &pipe_config->scaler_state; skylake_get_pfit_config() local
9075 scaler_state->scaler_id = id; skylake_get_pfit_config()
9077 scaler_state->scaler_users |= (1 << SKL_CRTC_INDEX); skylake_get_pfit_config()
9079 scaler_state->scaler_users &= ~(1 << SKL_CRTC_INDEX); skylake_get_pfit_config()
9903 pipe_config->scaler_state.scaler_id = -1; haswell_get_pipe_config()
9904 pipe_config->scaler_state.scaler_users &= ~(1 << SKL_CRTC_INDEX); haswell_get_pipe_config()
12048 pipe_config->scaler_state.scaler_users, intel_dump_pipe_config()
12049 pipe_config->scaler_state.scaler_id); intel_dump_pipe_config()
12186 struct intel_crtc_scaler_state scaler_state; clear_intel_crtc_state() local
12198 scaler_state = crtc_state->scaler_state; clear_intel_crtc_state()
12207 crtc_state->scaler_state = scaler_state; clear_intel_crtc_state()
12597 PIPE_CONF_CHECK_I(scaler_state.scaler_id); intel_pipe_config_compare()
13889 struct intel_crtc_scaler_state *scaler_state = &crtc_state->scaler_state; skl_init_scalers() local
13892 intel_scaler = &scaler_state->scalers[i]; skl_init_scalers()
13897 scaler_state->scaler_id = -1; skl_init_scalers()
H A Dintel_drv.h269 * crtc_state->scaler_state.scaler_users by calling helper function
277 * crtc_state->scaler_state.scaler_users by calling helper function
467 struct intel_crtc_scaler_state scaler_state; member in struct:intel_crtc_state
H A Dintel_sprite.c270 crtc_state->scaler_state.scalers[scaler_id].mode; skl_update_plane()

Completed in 195 milliseconds