/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_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_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_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);
|
/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...] |
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_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_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_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...] |
/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,
|
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,
|