Home
last modified time | relevance | path

Searched refs:plane_count (Results 1 – 21 of 21) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1425 if (stream_status->plane_count == MAX_SURFACE_NUM) { in dc_add_plane_to_context()
1480 stream_status->plane_states[stream_status->plane_count] = plane_state; in dc_add_plane_to_context()
1482 stream_status->plane_count++; in dc_add_plane_to_context()
1535 for (i = 0; i < stream_status->plane_count; i++) { in dc_remove_plane_from_context()
1543 if (i == stream_status->plane_count) { in dc_remove_plane_from_context()
1548 stream_status->plane_count--; in dc_remove_plane_from_context()
1551 for (; i < stream_status->plane_count; i++) in dc_remove_plane_from_context()
1554 stream_status->plane_states[stream_status->plane_count] = NULL; in dc_remove_plane_from_context()
1579 old_plane_count = stream_status->plane_count; in dc_rem_all_planes_for_stream()
1609 for (j = 0; j < set[i].plane_count; j++) in add_all_planes_for_stream()
[all …]
Ddc.c1735 context->stream_status[i].plane_count, in dc_commit_state_no_check()
1772 context->stream_status[i].plane_count, in dc_commit_state_no_check()
2029 for (j = 0; j < new_ctx->stream_status[i].plane_count; j++) in dc_copy_state()
2358 if (stream_status == NULL || stream_status->plane_count != surface_count) in check_update_surfaces_for_stream()
2997 dc, pipe_ctx->stream, stream_status->plane_count, context); in commit_planes_for_stream()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h44 int plane_count; member
382 int plane_count,
Ddc.h1122 uint8_t plane_count; member
/linux-5.19.10/drivers/media/platform/amphion/
Dvpu_v4l2.c381 unsigned int *plane_count, in vpu_vb2_queue_setup() argument
391 if (*plane_count) { in vpu_vb2_queue_setup()
392 if (*plane_count != cur_fmt->num_planes) in vpu_vb2_queue_setup()
405 *plane_count = cur_fmt->num_planes; in vpu_vb2_queue_setup()
/linux-5.19.10/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_dec.c918 unsigned int *plane_count, unsigned int psize[], in s5p_mfc_queue_setup() argument
929 *plane_count = 1; in s5p_mfc_queue_setup()
939 *plane_count = 2; in s5p_mfc_queue_setup()
953 *buf_count, *plane_count); in s5p_mfc_queue_setup()
Ds5p_mfc_enc.c2373 unsigned int *buf_count, unsigned int *plane_count, in s5p_mfc_queue_setup() argument
2386 *plane_count = ctx->dst_fmt->num_planes; in s5p_mfc_queue_setup()
2388 *plane_count = MFC_ENC_CAP_PLANE_COUNT; in s5p_mfc_queue_setup()
2397 *plane_count = ctx->src_fmt->num_planes; in s5p_mfc_queue_setup()
2399 *plane_count = MFC_ENC_OUT_PLANE_COUNT; in s5p_mfc_queue_setup()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c1178 if (context->stream_status[i].plane_count == 0) in dcn10_validate_global()
1181 if (context->stream_status[i].plane_count > 2) in dcn10_validate_global()
1184 if (context->stream_status[i].plane_count > 1) in dcn10_validate_global()
1187 for (j = 0; j < context->stream_status[i].plane_count; j++) { in dcn10_validate_global()
Ddcn10_hw_sequencer.c2952 if (context->stream_status[i].plane_count == 0) in dcn10_post_unlock_program_front_end()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dml/
Ddml_wrapper.c484 int plane_count = 0; in dml_validate_apply_pipe_split_flags() local
514 ++plane_count; in dml_validate_apply_pipe_split_flags()
516 if (plane_count > dc->res_pool->pipe_count / 2) in dml_validate_apply_pipe_split_flags()
560 bool split4mpc = context->stream_count == 1 && plane_count == 1 in dml_validate_apply_pipe_split_flags()
1564 int plane_count; in dml_calculate_dlg_params() local
1585 plane_count = 0; in dml_calculate_dlg_params()
1588 plane_count++; in dml_calculate_dlg_params()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c86 total_plane_count += stream_status.plane_count; in clk_mgr_helper_get_active_plane_cnt()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c1053 if (context->stream_status[i].plane_count == 0) in dce110_validate_surface_sets()
1056 if (context->stream_status[i].plane_count > 2) in dce110_validate_surface_sets()
1059 for (j = 0; j < context->stream_status[i].plane_count; j++) { in dce110_validate_surface_sets()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c867 if (context->stream_status[i].plane_count == 0) in dce100_validate_surface_sets()
870 if (context->stream_status[i].plane_count > 1) in dce100_validate_surface_sets()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c723 int plane_count; in decide_zstate_support() local
727 plane_count = 0; in decide_zstate_support()
731 plane_count++; in decide_zstate_support()
743 if (plane_count == 0) in decide_zstate_support()
761 if (link->link_index != 0 || stream_status->plane_count > 1) in decide_zstate_support()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c733 if (dc->current_state->stream_status[i].plane_count) in dcn30_apply_idle_power_optimizations()
771 dc->current_state->stream_status[0].plane_count == 1 && in dcn30_apply_idle_power_optimizations()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c996 if (context->stream_status[i].plane_count == 0) in dce112_validate_surface_sets()
999 if (context->stream_status[i].plane_count > 1) in dce112_validate_surface_sets()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_resource.c896 if (context->stream_status[i].plane_count == 0) in dce60_validate_surface_sets()
899 if (context->stream_status[i].plane_count > 1) in dce60_validate_surface_sets()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_resource.c901 if (context->stream_status[i].plane_count == 0) in dce80_validate_surface_sets()
904 if (context->stream_status[i].plane_count > 1) in dce80_validate_surface_sets()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1827 int plane_count = 0; in dcn20_validate_apply_pipe_split_flags() local
1857 ++plane_count; in dcn20_validate_apply_pipe_split_flags()
1859 if (plane_count > dc->res_pool->pipe_count / 2) in dcn20_validate_apply_pipe_split_flags()
1903 bool split4mpc = context->stream_count == 1 && plane_count == 1 in dcn20_validate_apply_pipe_split_flags()
Ddcn20_hwseq.c1747 dc->current_state->stream_status[0].plane_count == 1 && in dcn20_program_front_end_for_ctx()
1748 context->stream_status[0].plane_count > 1) { in dcn20_program_front_end_for_ctx()
1811 if (dc->current_state->stream_status[0].plane_count == 1 && in dcn20_post_unlock_program_front_end()
1812 context->stream_status[0].plane_count > 1) { in dcn20_post_unlock_program_front_end()
/linux-5.19.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2368 if (acrtc && state->stream_status[i].plane_count != 0) { in dm_gpureset_toggle_interrupts()
2605 for (m = 0; m < dc_state->stream_status->plane_count; m++) { in dm_gpureset_commit_state()
2613 dc_state->stream_status->plane_count, in dm_gpureset_commit_state()
2701 for (j = 0; j < dc_state->stream_status[i].plane_count; j++) { in dm_resume()
9898 WARN_ON(!status->plane_count); in amdgpu_dm_atomic_commit_tail()
9905 for (j = 0; j < status->plane_count; j++) in amdgpu_dm_atomic_commit_tail()
9912 status->plane_count, in amdgpu_dm_atomic_commit_tail()