Home
last modified time | relevance | path

Searched refs:stream_status (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1463 struct dc_stream_status *stream_status = NULL; in dc_add_plane_to_context() local
1471 stream_status = &context->stream_status[i]; in dc_add_plane_to_context()
1474 if (stream_status == NULL) { in dc_add_plane_to_context()
1480 if (stream_status->plane_count == MAX_SURFACE_NUM) { in dc_add_plane_to_context()
1693 stream_status->plane_states[stream_status->plane_count] = plane_state; in dc_add_plane_to_context()
1695 stream_status->plane_count++; in dc_add_plane_to_context()
1707 struct dc_stream_status *stream_status = NULL; in dc_remove_plane_from_context() local
1712 stream_status = &context->stream_status[i]; in dc_remove_plane_from_context()
1716 if (stream_status == NULL) { in dc_remove_plane_from_context()
1748 for (i = 0; i < stream_status->plane_count; i++) { in dc_remove_plane_from_context()
[all …]
Ddc.c1794 context->stream_status[i].plane_count, in dc_commit_state_no_check()
1840 context->stream_status[i].plane_count, in dc_commit_state_no_check()
2104 for (j = 0; j < new_ctx->stream_status[i].plane_count; j++) in dc_copy_state()
2106 new_ctx->stream_status[i].plane_states[j]); in dc_copy_state()
2429 const struct dc_stream_status *stream_status) in check_update_surfaces_for_stream() argument
2437 if (stream_status == NULL || stream_status->plane_count != surface_count) in check_update_surfaces_for_stream()
2593 const struct dc_stream_status *stream_status) in dc_check_update_surfaces_for_stream() argument
2603 type = check_update_surfaces_for_stream(dc, updates, surface_count, stream_update, stream_status); in dc_check_update_surfaces_for_stream()
2642 return &ctx->stream_status[i]; in stream_get_status()
2904 const struct dc_stream_status *stream_status; in update_planes_and_stream_state() local
[all …]
Ddc_stream.c231 return &state->stream_status[i]; in dc_stream_get_status_from_state()
476 struct dc_stream_status *stream_status = dc_stream_get_status(stream); in dc_stream_add_writeback() local
478 dwb->otg_inst = stream_status->primary_otg_inst; in dc_stream_add_writeback()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c88 const struct dc_stream_status stream_status = context->stream_status[i]; in clk_mgr_helper_get_active_plane_cnt() local
93 total_plane_count += stream_status.plane_count; in clk_mgr_helper_get_active_plane_cnt()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c377 struct dc_stream_status *stream_status = NULL; in dcn30_program_all_writeback_pipes_in_tree() local
384 stream_status = &context->stream_status[i_stream]; in dcn30_program_all_writeback_pipes_in_tree()
388 ASSERT(stream_status); in dcn30_program_all_writeback_pipes_in_tree()
728 if (dc->current_state->stream_status[i].plane_count) in dcn30_apply_idle_power_optimizations()
747 plane = (stream ? dc->current_state->stream_status[0].plane_states[0] : NULL); in dcn30_apply_idle_power_optimizations()
766 dc->current_state->stream_status[0].plane_count == 1 && in dcn30_apply_idle_power_optimizations()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource_helpers.c230 if (context->stream_status[i].plane_count > 1) in dcn32_mpo_in_use()
303 if (context->stream_status[i].plane_count > 0) in dcn32_determine_det_override()
304 plane_segments = stream_segments / context->stream_status[i].plane_count; in dcn32_determine_det_override()
Ddcn32_hwseq.c191 if (dc->current_state->stream_status[i].plane_count) in dcn32_check_no_memory_request_for_cab()
329 for (j = 0; j < ctx->stream_status[i].plane_count; j++) { in dcn32_calculate_cab_allocation()
330 plane = ctx->stream_status[i].plane_states[j]; in dcn32_calculate_cab_allocation()
392 for (j = 0; j < dc->current_state->stream_status[i].plane_count; j++) { in dcn32_apply_idle_power_optimizations()
393 plane = dc->current_state->stream_status[i].plane_states[j]; in dcn32_apply_idle_power_optimizations()
Ddcn32_resource.c1904 context->stream_status[0].plane_count == 1 && in dcn32_populate_dml_pipes_from_context()
/linux-6.1.9/sound/soc/intel/atom/
Dsst-mfld-platform.h133 int stream_status; member
Dsst-mfld-platform-pcm.c108 stream->stream_status = state; in sst_set_stream_status()
118 state = stream->stream_status; in sst_get_stream_status()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c1177 if (context->stream_status[i].plane_count == 0) in dcn10_validate_global()
1180 if (context->stream_status[i].plane_count > 2) in dcn10_validate_global()
1183 if (context->stream_status[i].plane_count > 1) in dcn10_validate_global()
1186 for (j = 0; j < context->stream_status[i].plane_count; j++) { in dcn10_validate_global()
1188 context->stream_status[i].plane_states[j]; in dcn10_validate_global()
Ddcn10_hw_sequencer.c3013 if (context->stream_status[i].plane_count == 0) in dcn10_post_unlock_program_front_end()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c866 if (context->stream_status[i].plane_count == 0) in dce100_validate_surface_sets()
869 if (context->stream_status[i].plane_count > 1) in dce100_validate_surface_sets()
872 if (context->stream_status[i].plane_states[0]->format in dce100_validate_surface_sets()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c1052 if (context->stream_status[i].plane_count == 0) in dce110_validate_surface_sets()
1055 if (context->stream_status[i].plane_count > 2) in dce110_validate_surface_sets()
1058 for (j = 0; j < context->stream_status[i].plane_count; j++) { in dce110_validate_surface_sets()
1060 context->stream_status[i].plane_states[j]; in dce110_validate_surface_sets()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c995 if (context->stream_status[i].plane_count == 0) in dce112_validate_surface_sets()
998 if (context->stream_status[i].plane_count > 1) in dce112_validate_surface_sets()
1001 if (context->stream_status[i].plane_states[0]->format in dce112_validate_surface_sets()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_resource.c897 if (context->stream_status[i].plane_count == 0) in dce60_validate_surface_sets()
900 if (context->stream_status[i].plane_count > 1) in dce60_validate_surface_sets()
903 if (context->stream_status[i].plane_states[0]->format in dce60_validate_surface_sets()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_resource.c900 if (context->stream_status[i].plane_count == 0) in dce80_validate_surface_sets()
903 if (context->stream_status[i].plane_count > 1) in dce80_validate_surface_sets()
906 if (context->stream_status[i].plane_states[0]->format in dce80_validate_surface_sets()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h466 const struct dc_stream_status *stream_status);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h523 struct dc_stream_status stream_status[MAX_PIPES]; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c1835 dc->current_state->stream_status[0].plane_count == 1 && in dcn20_program_front_end_for_ctx()
1836 context->stream_status[0].plane_count > 1) { in dcn20_program_front_end_for_ctx()
1930 if (dc->current_state->stream_status[0].plane_count == 1 && in dcn20_post_unlock_program_front_end()
1931 context->stream_status[0].plane_count > 1) { in dcn20_post_unlock_program_front_end()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c973 struct dc_stream_status *stream_status = &context->stream_status[0]; in decide_zstate_support() local
987 if (link->link_index != 0 || stream_status->plane_count > 1) in decide_zstate_support()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2371 adev, state->stream_status[i].primary_otg_inst); in dm_gpureset_toggle_interrupts()
2373 if (acrtc && state->stream_status[i].plane_count != 0) { in dm_gpureset_toggle_interrupts()
2610 for (m = 0; m < dc_state->stream_status->plane_count; m++) { in dm_gpureset_commit_state()
2612 dc_state->stream_status->plane_states[m]; in dm_gpureset_commit_state()
2618 dc_state->stream_status->plane_count, in dm_gpureset_commit_state()
2678 for (j = 0; j < dc_state->stream_status[i].plane_count; j++) { in dm_resume()
2679 dc_state->stream_status[i].plane_states[j]->update_flags.raw in dm_resume()