Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1351 struct dc_stream_status *stream_status = NULL; in dc_add_plane_to_context() local
1355 stream_status = &context->stream_status[i]; in dc_add_plane_to_context()
1358 if (stream_status == NULL) { in dc_add_plane_to_context()
1364 if (stream_status->plane_count == MAX_SURFACE_NUM) { in dc_add_plane_to_context()
1420 stream_status->plane_states[stream_status->plane_count] = plane_state; in dc_add_plane_to_context()
1422 stream_status->plane_count++; in dc_add_plane_to_context()
1434 struct dc_stream_status *stream_status = NULL; in dc_remove_plane_from_context() local
1442 stream_status = &context->stream_status[i]; in dc_remove_plane_from_context()
1446 if (stream_status == NULL) { in dc_remove_plane_from_context()
1478 for (i = 0; i < stream_status->plane_count; i++) { in dc_remove_plane_from_context()
[all …]
Ddc.c1609 context->stream_status[i].plane_count, in dc_commit_state_no_check()
1646 context->stream_status[i].plane_count, in dc_commit_state_no_check()
1875 for (j = 0; j < new_ctx->stream_status[i].plane_count; j++) in dc_copy_state()
1877 new_ctx->stream_status[i].plane_states[j]); in dc_copy_state()
2196 const struct dc_stream_status *stream_status) in check_update_surfaces_for_stream() argument
2206 if (stream_status == NULL || stream_status->plane_count != surface_count) in check_update_surfaces_for_stream()
2267 const struct dc_stream_status *stream_status) in dc_check_update_surfaces_for_stream() argument
2277 type = check_update_surfaces_for_stream(dc, updates, surface_count, stream_update, stream_status); in dc_check_update_surfaces_for_stream()
2312 return &ctx->stream_status[i]; in stream_get_status()
2569 const struct dc_stream_status *stream_status; in update_planes_and_stream_state() local
[all …]
Ddc_stream.c229 return &state->stream_status[i]; in dc_stream_get_status_from_state()
471 struct dc_stream_status *stream_status = dc_stream_get_status(stream); in dc_stream_add_writeback() local
473 dwb->otg_inst = stream_status->primary_otg_inst; in dc_stream_add_writeback()
/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c78 const struct dc_stream_status stream_status = context->stream_status[i]; in clk_mgr_helper_get_active_plane_cnt() local
83 total_plane_count += stream_status.plane_count; in clk_mgr_helper_get_active_plane_cnt()
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c375 struct dc_stream_status *stream_status = NULL; in dcn30_program_all_writeback_pipes_in_tree() local
382 stream_status = &context->stream_status[i_stream]; in dcn30_program_all_writeback_pipes_in_tree()
386 ASSERT(stream_status); in dcn30_program_all_writeback_pipes_in_tree()
752 if (dc->current_state->stream_status[i].plane_count) in dcn30_apply_idle_power_optimizations()
771 plane = (stream ? dc->current_state->stream_status[0].plane_states[0] : NULL); in dcn30_apply_idle_power_optimizations()
790 dc->current_state->stream_status[0].plane_count == 1 && in dcn30_apply_idle_power_optimizations()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c1219 if (context->stream_status[i].plane_count == 0) in dcn10_validate_global()
1222 if (context->stream_status[i].plane_count > 2) in dcn10_validate_global()
1225 if (context->stream_status[i].plane_count > 1) in dcn10_validate_global()
1228 for (j = 0; j < context->stream_status[i].plane_count; j++) { in dcn10_validate_global()
1230 context->stream_status[i].plane_states[j]; in dcn10_validate_global()
Ddcn10_hw_sequencer.c2889 if (context->stream_status[i].plane_count == 0) in dcn10_post_unlock_program_front_end()
/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()
873 if (context->stream_status[i].plane_states[0]->format in dce100_validate_surface_sets()
/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()
1061 context->stream_status[i].plane_states[j]; in dce110_validate_surface_sets()
/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()
1002 if (context->stream_status[i].plane_states[0]->format in dce112_validate_surface_sets()
/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()
907 if (context->stream_status[i].plane_states[0]->format in dce80_validate_surface_sets()
/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()
902 if (context->stream_status[i].plane_states[0]->format in dce60_validate_surface_sets()
/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h446 struct dc_stream_status stream_status[MAX_PIPES]; member
/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h441 const struct dc_stream_status *stream_status);
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2333 adev, state->stream_status[i].primary_otg_inst); in dm_gpureset_toggle_interrupts()
2335 if (acrtc && state->stream_status[i].plane_count != 0) { in dm_gpureset_toggle_interrupts()
2582 for (m = 0; m < dc_state->stream_status->plane_count; m++) { in dm_gpureset_commit_state()
2584 dc_state->stream_status->plane_states[m]; in dm_gpureset_commit_state()
2591 dc_state->stream_status->plane_count, in dm_gpureset_commit_state()
2666 for (j = 0; j < dc_state->stream_status[i].plane_count; j++) { in dm_resume()
2667 dc_state->stream_status[i].plane_states[j]->update_flags.raw in dm_resume()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c1822 if (dc->current_state->stream_status[0].plane_count == 1 && in dcn20_post_unlock_program_front_end()
1823 context->stream_status[0].plane_count > 1) { in dcn20_post_unlock_program_front_end()