/linux-5.19.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 1425 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 …]
|
D | dc.c | 1735 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/ |
D | dc_stream.h | 44 int plane_count; member 382 int plane_count,
|
D | dc.h | 1122 uint8_t plane_count; member
|
/linux-5.19.10/drivers/media/platform/amphion/ |
D | vpu_v4l2.c | 381 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/ |
D | s5p_mfc_dec.c | 918 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()
|
D | s5p_mfc_enc.c | 2373 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/ |
D | dcn10_resource.c | 1178 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()
|
D | dcn10_hw_sequencer.c | 2952 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/ |
D | dml_wrapper.c | 484 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/ |
D | clk_mgr.c | 86 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/ |
D | dce110_resource.c | 1053 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/ |
D | dce100_resource.c | 867 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/ |
D | dcn20_fpu.c | 723 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/ |
D | dcn30_hwseq.c | 733 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/ |
D | dce112_resource.c | 996 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/ |
D | dce60_resource.c | 896 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/ |
D | dce80_resource.c | 901 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/ |
D | dcn20_resource.c | 1827 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()
|
D | dcn20_hwseq.c | 1747 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/ |
D | amdgpu_dm.c | 2368 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()
|