/src/sys/external/bsd/drm2/dist/drm/ |
drm_plane_helper.c | 131 struct drm_crtc_state crtc_state = { local in function:drm_plane_helper_check_update 138 ret = drm_atomic_helper_check_plane_state(&plane_state, &crtc_state,
|
drm_atomic_state_helper.c | 67 * @crtc_state: atomic CRTC state, must not be NULL 70 * Initializes the newly allocated @crtc_state with default 74 __drm_atomic_helper_crtc_state_reset(struct drm_crtc_state *crtc_state, 77 crtc_state->crtc = crtc; 84 * @crtc_state: CRTC state to assign 86 * Initializes the newly allocated @crtc_state and assigns it to 95 struct drm_crtc_state *crtc_state) 97 if (crtc_state) 98 __drm_atomic_helper_crtc_state_reset(crtc_state, crtc); 100 crtc->state = crtc_state; 113 struct drm_crtc_state *crtc_state = local in function:drm_atomic_helper_crtc_reset [all...] |
drm_damage_helper.c | 128 struct drm_crtc_state *crtc_state; local in function:drm_atomic_helper_check_plane_damage 131 crtc_state = drm_atomic_get_new_crtc_state(state, 134 if (WARN_ON(!crtc_state)) 137 if (drm_atomic_crtc_needs_modeset(crtc_state)) {
|
drm_self_refresh_helper.c | 85 struct drm_crtc_state *crtc_state; local in function:drm_self_refresh_helper_entry_work 99 crtc_state = drm_atomic_get_crtc_state(state, crtc); 100 if (IS_ERR(crtc_state)) { 101 ret = PTR_ERR(crtc_state); 105 if (!crtc_state->enable) 117 crtc_state->active = false; 118 crtc_state->self_refresh_active = true; 197 struct drm_crtc_state *crtc_state; local in function:drm_self_refresh_helper_alter_state 201 for_each_old_crtc_in_state(state, crtc, crtc_state, i) { 202 if (crtc_state->self_refresh_active) [all...] |
drm_atomic.c | 304 struct drm_crtc_state *crtc_state; local in function:drm_atomic_get_crtc_state 308 crtc_state = drm_atomic_get_existing_crtc_state(state, crtc); 309 if (crtc_state) 310 return crtc_state; 316 crtc_state = crtc->funcs->atomic_duplicate_state(crtc); 317 if (!crtc_state) 320 state->crtcs[index].state = crtc_state; 322 state->crtcs[index].new_state = crtc_state; 324 crtc_state->state = state; 327 crtc->base.id, crtc->name, crtc_state, state) 415 struct drm_crtc_state *crtc_state; local in function:drm_atomic_connector_check 509 struct drm_crtc_state *crtc_state; local in function:drm_atomic_get_plane_state 1002 struct drm_crtc_state *crtc_state; local in function:drm_atomic_get_connector_state 1056 struct drm_crtc_state *crtc_state; local in function:drm_atomic_add_affected_connectors 1367 struct drm_crtc_state *crtc_state; local in function:__drm_atomic_helper_set_config 1445 struct drm_crtc_state *crtc_state; local in function:drm_atomic_print_state [all...] |
drm_atomic_uapi.c | 186 struct drm_crtc_state *crtc_state; local in function:drm_atomic_set_crtc_for_plane 191 crtc_state = drm_atomic_get_crtc_state(plane_state->state, 193 if (WARN_ON(IS_ERR(crtc_state))) 194 return PTR_ERR(crtc_state); 196 crtc_state->plane_mask &= ~drm_plane_mask(plane); 202 crtc_state = drm_atomic_get_crtc_state(plane_state->state, 204 if (IS_ERR(crtc_state)) 205 return PTR_ERR(crtc_state); 206 crtc_state->plane_mask |= drm_plane_mask(plane); 305 struct drm_crtc_state *crtc_state; local in function:drm_atomic_set_crtc_for_connector 924 struct drm_crtc_state *crtc_state; local in function:drm_atomic_connector_commit_dpms 997 struct drm_crtc_state *crtc_state; local in function:drm_atomic_set_property 1150 struct drm_crtc_state *crtc_state; local in function:prepare_signaling 1272 struct drm_crtc_state *crtc_state; local in function:complete_signaling [all...] |
drm_framebuffer.c | 883 struct drm_crtc_state *crtc_state; local in function:atomic_remove_fb 885 crtc_state = drm_atomic_get_existing_crtc_state(state, plane_state->crtc); 891 crtc_state->active = false; 892 ret = drm_atomic_set_mode_for_crtc(crtc_state, NULL);
|
drm_client_modeset.c | 1037 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state, crtc); local in function:drm_client_modeset_commit_atomic 1039 crtc_state->active = false;
|
drm_atomic_helper.c | 84 struct drm_crtc_state *crtc_state; local in function:drm_atomic_helper_plane_changed 87 crtc_state = drm_atomic_get_new_crtc_state(state, 90 if (WARN_ON(!crtc_state)) 93 crtc_state->planes_changed = true; 97 crtc_state = drm_atomic_get_new_crtc_state(state, plane_state->crtc); 99 if (WARN_ON(!crtc_state)) 102 crtc_state->planes_changed = true; 164 struct drm_crtc_state *crtc_state; local in function:handle_conflicting_encoders 194 crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); 200 if (!crtc_state->connector_mask) 220 struct drm_crtc_state *crtc_state; local in function:set_best_encoder 260 struct drm_crtc_state *crtc_state; local in function:steal_encoder 294 struct drm_crtc_state *crtc_state; local in function:update_connector_routing 540 struct drm_crtc_state *crtc_state; local in function:mode_valid 1688 struct drm_crtc_state *crtc_state; local in function:drm_atomic_helper_async_check 2526 struct drm_crtc_state *crtc_state; local in function:drm_atomic_helper_commit_planes 3034 struct drm_crtc_state *crtc_state; local in function:drm_atomic_helper_disable_all 3156 struct drm_crtc_state *crtc_state; local in function:drm_atomic_helper_duplicate_state 3345 struct drm_crtc_state *crtc_state; local in function:page_flip_common 3444 struct drm_crtc_state *crtc_state; local in function:drm_atomic_helper_page_flip_target 3492 struct drm_crtc_state *crtc_state; local in function:drm_atomic_helper_legacy_gamma_set [all...] |
drm_fb_helper.c | 1036 struct drm_crtc_state *crtc_state; local in function:setcmap_atomic 1065 crtc_state = drm_atomic_get_crtc_state(state, crtc); 1066 if (IS_ERR(crtc_state)) { 1067 ret = PTR_ERR(crtc_state); 1071 replaced = drm_property_replace_blob(&crtc_state->degamma_lut, 1073 replaced |= drm_property_replace_blob(&crtc_state->ctm, NULL); 1074 replaced |= drm_property_replace_blob(&crtc_state->gamma_lut, 1076 crtc_state->color_mgmt_changed |= replaced;
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/ |
amdgpu_dm_crc.c | 151 struct dm_crtc_state *crtc_state; local in function:amdgpu_dm_crtc_set_crc_source 189 crtc_state = to_dm_crtc_state(crtc->state); 206 dm_is_crc_source_dprx(crtc_state->crc_src))) { 236 if (amdgpu_dm_crtc_configure_crc_source(crtc, crtc_state, source)) { 245 enabled = amdgpu_dm_is_valid_crc_source(crtc_state->crc_src); 269 crtc_state->crc_src = source; 272 crtc_state->crc_skip_count = 0; 292 struct dm_crtc_state *crtc_state; local in function:amdgpu_dm_crtc_handle_crc_irq 299 crtc_state = to_dm_crtc_state(crtc->state); 300 stream_state = crtc_state->stream [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_atomic_plane.c | 140 unsigned int intel_plane_data_rate(const struct intel_crtc_state *crtc_state, 160 return cpp * crtc_state->pixel_rate; 170 struct intel_crtc_state *crtc_state; local in function:intel_plane_calc_min_cdclk 175 crtc_state = intel_atomic_get_new_crtc_state(state, crtc); 177 crtc_state->min_cdclk[plane->id] = 178 plane->min_cdclk(crtc_state, plane_state); 188 * must be true since we have crtc_state). 190 if (crtc_state->min_cdclk[plane->id] > dev_priv->cdclk.logical.cdclk) { 193 crtc_state->min_cdclk[plane->id], 320 struct intel_crtc_state *crtc_state local in function:skl_next_plane_to_commit [all...] |
intel_atomic.c | 135 struct drm_crtc_state *crtc_state; local in function:intel_digital_connector_atomic_check 143 crtc_state = drm_atomic_get_new_crtc_state(state, new_state->crtc); 157 crtc_state->mode_changed = true; 229 struct intel_crtc_state *crtc_state; local in function:intel_crtc_duplicate_state 231 crtc_state = kmemdup(old_crtc_state, sizeof(*crtc_state), GFP_KERNEL); 232 if (!crtc_state) 235 __drm_atomic_helper_crtc_duplicate_state(crtc, &crtc_state->uapi); 238 if (crtc_state->hw.degamma_lut) 239 drm_property_blob_get(crtc_state->hw.degamma_lut) 293 struct intel_crtc_state *crtc_state = to_intel_crtc_state(state); local in function:intel_crtc_destroy_state 522 struct drm_crtc_state *crtc_state; local in function:intel_atomic_get_crtc_state 557 struct intel_crtc_state *crtc_state; local in function:intel_atomic_serialize_global_state [all...] |
intel_dp_mst.c | 46 struct intel_crtc_state *crtc_state, 50 struct drm_atomic_state *state = crtc_state->uapi.state; 56 &crtc_state->hw.adjusted_mode; 62 crtc_state->lane_count = limits->max_lane_count; 63 crtc_state->port_clock = limits->max_clock; 66 crtc_state->pipe_bpp = bpp; 68 crtc_state->pbn = drm_dp_calc_pbn_mode(adjusted_mode->crtc_clock, 69 crtc_state->pipe_bpp, 73 port, crtc_state->pbn, 0); 85 intel_link_compute_m_n(crtc_state->pipe_bpp 114 struct intel_crtc_state *crtc_state; local in function:intel_dp_mst_master_trans_compute 237 struct intel_crtc_state *crtc_state; local in function:intel_dp_mst_atomic_master_trans_check 305 struct intel_crtc_state *crtc_state = local in function:intel_dp_mst_atomic_check [all...] |
intel_fbc.c | 640 const struct intel_crtc_state *crtc_state, 652 cache->crtc.mode_flags = crtc_state->hw.adjusted_mode.flags; 654 cache->crtc.hsw_bdw_pixel_rate = crtc_state->pixel_rate; 845 static bool intel_fbc_can_flip_nuke(const struct intel_crtc_state *crtc_state) 847 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); 853 if (drm_atomic_crtc_needs_modeset(&crtc_state->uapi)) 878 const struct intel_crtc_state *crtc_state, 894 intel_fbc_update_state_cache(crtc, crtc_state, plane_state); 897 if (!intel_fbc_can_flip_nuke(crtc_state)) { 1083 struct intel_crtc_state *crtc_state; local in function:intel_fbc_choose_crtc [all...] |
intel_psr.c | 84 const struct intel_crtc_state *crtc_state) 87 WARN_ON(crtc_state->dsc.compression_enable && 88 crtc_state->has_psr2); 95 return crtc_state->has_psr2; 339 const struct intel_crtc_state *crtc_state) 367 crtc_state, 615 struct intel_crtc_state *crtc_state) 618 int crtc_hdisplay = crtc_state->hw.adjusted_mode.crtc_hdisplay; 619 int crtc_vdisplay = crtc_state->hw.adjusted_mode.crtc_vdisplay; 625 if (!transcoder_has_psr2(dev_priv, crtc_state->cpu_transcoder)) 1133 struct intel_crtc_state *crtc_state = local in function:intel_psr_fastset_force 1541 struct drm_crtc_state *crtc_state; local in function:intel_psr_atomic_check [all...] |
intel_cdclk.c | 1910 static int intel_pixel_rate_to_cdclk(const struct intel_crtc_state *crtc_state) 1912 struct drm_i915_private *dev_priv = to_i915(crtc_state->uapi.crtc->dev); 1913 int pixel_rate = crtc_state->pixel_rate; 1922 else if (crtc_state->double_wide) 1928 static int intel_planes_min_cdclk(const struct intel_crtc_state *crtc_state) 1930 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); 1936 min_cdclk = max(crtc_state->min_cdclk[plane->id], min_cdclk); 1941 int intel_crtc_compute_min_cdclk(const struct intel_crtc_state *crtc_state) 1944 to_i915(crtc_state->uapi.crtc->dev); 1947 if (!crtc_state->hw.enable 2037 struct intel_crtc_state *crtc_state; local in function:intel_compute_min_cdclk 2085 struct intel_crtc_state *crtc_state; local in function:bxt_compute_min_voltage_level 2182 struct intel_crtc_state *crtc_state; local in function:skl_dpll0_vco 2296 struct intel_crtc_state *crtc_state; local in function:intel_modeset_all_pipes 2379 struct intel_crtc_state *crtc_state; local in function:intel_modeset_calc_cdclk [all...] |
intel_hdcp.c | 2066 struct drm_crtc_state *crtc_state; local in function:intel_hdcp_atomic_check 2091 crtc_state = drm_atomic_get_new_crtc_state(new_state->state, 2093 crtc_state->mode_changed = true;
|
/src/sys/external/bsd/drm2/dist/drm/virtio/ |
virtgpu_plane.c | 94 struct drm_crtc_state *crtc_state; local in function:virtio_gpu_plane_atomic_check 100 crtc_state = drm_atomic_get_crtc_state(state->state, state->crtc); 101 if (IS_ERR(crtc_state)) 102 return PTR_ERR(crtc_state); 104 ret = drm_atomic_helper_check_plane_state(state, crtc_state,
|
/src/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
vbox_mode.c | 272 struct drm_crtc_state *crtc_state = NULL; local in function:vbox_primary_atomic_check 275 crtc_state = drm_atomic_get_existing_crtc_state( 277 if (WARN_ON(!crtc_state)) 281 return drm_atomic_helper_check_plane_state(new_state, crtc_state, 345 struct drm_crtc_state *crtc_state = NULL; local in function:vbox_cursor_atomic_check 351 crtc_state = drm_atomic_get_existing_crtc_state( 353 if (WARN_ON(!crtc_state)) 357 ret = drm_atomic_helper_check_plane_state(new_state, crtc_state,
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
timing_generator.h | 72 enum crtc_state { enum 182 enum crtc_state state);
|
/src/sys/external/bsd/drm2/dist/drm/ast/ |
ast_mode.c | 542 struct drm_crtc_state *crtc_state; local in function:ast_primary_plane_helper_atomic_check 549 crtc_state = drm_atomic_get_new_crtc_state(state->state, state->crtc); 551 ret = drm_atomic_helper_check_plane_state(state, crtc_state, 561 ast_crtc_state = to_ast_crtc_state(crtc_state); 680 struct drm_crtc_state *crtc_state; local in function:ast_cursor_plane_helper_atomic_check 686 crtc_state = drm_atomic_get_new_crtc_state(state->state, state->crtc); 688 ret = drm_atomic_helper_check_plane_state(state, crtc_state,
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
nouveau_dispnv04_crtc.c | 669 struct nv04_crtc_reg *crtc_state = &state->crtc_reg[nv_crtc->index]; local in function:nv_crtc_save 680 crtc_state->CRTC[NV_CIO_CRE_LCD__INDEX] = crtc_saved->CRTC[NV_CIO_CRE_LCD__INDEX]; 682 crtc_state->gpio_ext = crtc_saved->gpio_ext;
|
/src/sys/arch/arm/rockchip/ |
rk_vop.c | 288 struct drm_crtc_state *crtc_state; local in function:rk_vop_plane_atomic_check 293 crtc_state = drm_atomic_get_new_crtc_state(state->state, state->crtc); 294 if (IS_ERR(crtc_state)) 295 return PTR_ERR(crtc_state); 297 return drm_atomic_helper_check_plane_state(state, crtc_state,
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/ |
nouveau_dispnv50_disp.c | 323 struct drm_crtc_state *crtc_state, 327 struct drm_display_mode *adjusted_mode = &crtc_state->adjusted_mode; 328 struct drm_display_mode *mode = &crtc_state->mode; 362 crtc_state->mode_changed = true; 370 struct drm_crtc_state *crtc_state, 375 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state); 378 ret = nv50_outp_atomic_check_view(encoder, crtc_state, conn_state, 383 if (crtc_state->mode_changed || crtc_state->connectors_changed) 905 struct drm_crtc_state *crtc_state, 1119 struct drm_crtc_state *crtc_state; local in function:nv50_mstc_atomic_check [all...] |