Home
last modified time | relevance | path

Searched refs:plane_states (Results 1 – 24 of 24) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_state.c178 dst_state->stream_status[i].plane_states[j]); in dc_state_copy_internal()
315 state->stream_status[i].plane_states[j]); in dc_state_destruct()
464 status->plane_states[i], 1); in remove_mpc_combine_for_stream()
525 stream_status->plane_states[stream_status->plane_count] = in dc_state_add_plane()
563 if (stream_status->plane_states[i] == plane_state) { in dc_state_remove_plane()
564 dc_plane_state_release(stream_status->plane_states[i]); in dc_state_remove_plane()
578 stream_status->plane_states[i] = stream_status->plane_states[i + 1]; in dc_state_remove_plane()
580 stream_status->plane_states[stream_status->plane_count] = NULL; in dc_state_remove_plane()
619 del_planes[i] = stream_status->plane_states[i]; in dc_state_rem_all_planes_for_stream()
631 struct dc_plane_state * const *plane_states, in dc_state_add_all_planes_for_stream() argument
[all …]
H A Ddc.c2277 set[i].plane_states[j] = status->plane_states[j]; in dc_commit_streams()
3255 scratch->plane_states[i] = *status->plane_states[i]; in backup_planes_and_stream_state()
3272 struct kref refcount = status->plane_states[i]->refcount; in restore_planes_and_stream_state()
3273 *status->plane_states[i] = scratch->plane_states[i]; in restore_planes_and_stream_state()
3274 status->plane_states[i]->refcount = refcount; in restore_planes_and_stream_state()
4515 stream_status->plane_states[j]->flip_immediate = false; in force_vsync_flip_in_minimal_transition_context()
4595 srf_updates[i].surface = status->plane_states[i]; in initialize_empty_surface_updates()
4821 dc->current_state->stream_status[i].plane_states[j]->update_flags.raw = 0xFFFFFFFF; in commit_minimal_transition_state()
H A Ddc_resource.c4040 if (set[i].plane_states[j] != stream_status->plane_states[j]) in planes_changed_for_existing_stream()
4065 if (!dc_state_add_plane(dc, stream, set[i].plane_states[j], state)) in add_all_planes_for_stream()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/dml21/
H A Ddml21_utils.c45 if (state->stream_status[i].plane_states[j] == plane) { in dml21_get_plane_id()
115 dc_main_plane = dc_main_stream_status->plane_states[dc_plane_index]; in dml21_find_dc_pipes_for_plane()
133 dc_phantom_plane = dc_phantom_stream_status->plane_states[dc_plane_index]; in dml21_find_dc_pipes_for_plane()
357 main_plane = main_stream_status->plane_states[dc_plane_index]; in dml21_handle_phantom_streams_planes()
435 context->res_ctx.pipe_ctx[k].plane_state == context->stream_status[i].plane_states[j]) { in dml21_build_fams2_programming()
472 context->res_ctx.pipe_ctx[k].plane_state == phantom_status->plane_states[j]) { in dml21_build_fams2_programming()
H A Ddml21_translation_helper.c923 if (context->stream_status[i].plane_states[j] == plane) { in dml21_wrapper_get_plane_id()
1042 …treams[stream_index]->stream_id, context->stream_status[stream_index].plane_states[plane_index], c… in dml21_map_dc_state_into_dml_display_cfg()
1049 …[disp_cfg_plane_location].surface, context->stream_status[stream_index].plane_states[plane_index]); in dml21_map_dc_state_into_dml_display_cfg()
1050 …iptors[disp_cfg_plane_location], context->stream_status[stream_index].plane_states[plane_index], c… in dml21_map_dc_state_into_dml_display_cfg()
1053 …treams[stream_index]->stream_id, context->stream_status[stream_index].plane_states[plane_index], &… in dml21_map_dc_state_into_dml_display_cfg()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_dc_resource_mgmt.c70 if (state->stream_status[i].plane_states[j] == plane && in get_plane_id()
806 get_plane_id(ctx, state, status->plane_states[plane_idx], in get_target_mpc_factor()
829 get_plane_id(ctx, state, main_stream_status->plane_states[plane_idx], in get_target_mpc_factor()
832 get_plane_id(ctx, state, status->plane_states[plane_idx], in get_target_mpc_factor()
935 mpc_factors[i].source = get_source_mpc_factor(ctx, state, status->plane_states[i]); in populate_mpc_factors_for_stream()
973 status->plane_states[plane_idx], in unmap_dc_pipes_for_stream()
1002 status->plane_states[plane_idx], in map_dc_pipes_for_stream()
1121 if (get_plane_id(ctx, state, state->stream_status[stream_index].plane_states[plane_index], in dml2_map_dc_pipes()
1147 …state->stream_status[stream_index].plane_states[plane_index], plane_index, &scratch, existing_stat… in dml2_map_dc_pipes()
H A Ddml2_translation_helper.c1157 if (context->stream_status[i].plane_states[j] == plane && in get_plane_id()
1381 …context->stream_status[i].plane_states[j], context, dml_dispcfg, context->streams[i]->stream_id, j… in map_dc_state_into_dml_display_cfg()
1388 …roject, &dml_dispcfg->surface, disp_cfg_plane_location, context->stream_status[i].plane_states[j]); in map_dc_state_into_dml_display_cfg()
1391 context->stream_status[i].plane_states[j], context, in map_dc_state_into_dml_display_cfg()
1408 …if (get_plane_id(dml2, context, context->stream_status[i].plane_states[j], context->streams[i]->st… in map_dc_state_into_dml_display_cfg()
H A Ddml2_utils.c228 if (state->stream_status[i].plane_states[j] == plane && in get_plane_id()
H A Ddml2_mall_phantom.c831 del_planes[i] = stream_status->plane_states[i]; in remove_all_phantom_planes_for_stream()
/linux-6.15/drivers/gpu/drm/amd/display/dc/
H A Ddc_state.h70 struct dc_plane_state * const *plane_states,
H A Ddc_stream.h59 struct dc_plane_state *plane_states[MAX_SURFACES]; member
H A Ddc.h1416 struct dc_plane_state plane_states[MAX_SURFACES]; member
1579 struct dc_plane_state *plane_states[MAX_SURFACES]; member
/linux-6.15/drivers/gpu/drm/sun4i/
H A Dsun4i_backend.c472 struct drm_plane_state *plane_states[SUN4I_BACKEND_NUM_LAYERS] = { 0 }; in sun4i_backend_atomic_check() local
521 plane_states[plane_state->normalized_zpos] = plane_state; in sun4i_backend_atomic_check()
574 (plane_states[0]->alpha != DRM_BLEND_ALPHA_OPAQUE)) in sun4i_backend_atomic_check()
578 struct drm_plane_state *p_state = plane_states[i]; in sun4i_backend_atomic_check()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dce100/
H A Ddce100_resource.c876 if (context->stream_status[i].plane_states[0]->format in dce100_validate_surface_sets()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dce112/
H A Ddce112_resource.c1005 if (context->stream_status[i].plane_states[0]->format in dce112_validate_surface_sets()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dce80/
H A Ddce80_resource.c909 if (context->stream_status[i].plane_states[0]->format in dce80_validate_surface_sets()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_resource.c903 if (context->stream_status[i].plane_states[0]->format in dce60_validate_surface_sets()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dce110/
H A Ddce110_resource.c1061 context->stream_status[i].plane_states[j]; in dce110_validate_surface_sets()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c934 plane = (stream ? dc->current_state->stream_status[0].plane_states[0] : NULL); in dcn30_apply_idle_power_optimizations()
/linux-6.15/drivers/gpu/drm/amd/display/dc/resource/dcn10/
H A Ddcn10_resource.c1173 context->stream_status[i].plane_states[j]; in dcn10_validate_global()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c1381 if (memcmp(&context->stream_status[0].plane_states[0]->clip_rect, in should_apply_odm_power_optimization()
3494 if (context->stream_status[0].plane_states[i]->format == SURFACE_PIXEL_FORMAT_VIDEO_420_YCbCr || in dcn32_determine_max_vratio_prefetch()
3495 context->stream_status[0].plane_states[i]->format == SURFACE_PIXEL_FORMAT_VIDEO_420_YCrCb) { in dcn32_determine_max_vratio_prefetch()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c300 plane = dc->current_state->stream_status[i].plane_states[j]; in dcn32_apply_idle_power_optimizations()
/linux-6.15/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c3348 dc_state->stream_status[k].plane_states[m]; in dm_gpureset_commit_state()
3438 dc_state->stream_status[i].plane_states[j]->update_flags.raw in dm_resume()
10315 dummy_updates[j].surface = status->plane_states[0]; in amdgpu_dm_atomic_commit_tail()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c1282 plane = dc->current_state->stream_status[i].plane_states[j]; in dcn401_apply_idle_power_optimizations()