Home
last modified time | relevance | path

Searched refs:dc_plane_state (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_surface.c38 static void dc_plane_construct(struct dc_context *ctx, struct dc_plane_state *plane_state) in dc_plane_construct()
66 static void dc_plane_destruct(struct dc_plane_state *plane_state) in dc_plane_destruct()
97 void enable_surface_flip_reporting(struct dc_plane_state *plane_state, in enable_surface_flip_reporting()
104 struct dc_plane_state *dc_create_plane_state(struct dc *dc) in dc_create_plane_state()
106 struct dc_plane_state *plane_state = kvzalloc(sizeof(*plane_state), in dc_create_plane_state()
130 const struct dc_plane_state *plane_state) in dc_plane_get_status()
175 void dc_plane_state_retain(struct dc_plane_state *plane_state) in dc_plane_state_retain()
182 struct dc_plane_state *plane_state = container_of(kref, struct dc_plane_state, refcount); in dc_plane_state_free()
187 void dc_plane_state_release(struct dc_plane_state *plane_state) in dc_plane_state_release()
Ddc_debug.c59 const struct dc_plane_state *const *plane_states, in pre_surface_trace()
66 const struct dc_plane_state *plane_state = plane_states[i]; in pre_surface_trace()
Ddc_hw_sequencer.c476 struct dc_plane_state *plane = pipe_ctx->plane_state; in hwss_build_fast_sequence()
728 struct dc_plane_state *plane_state = pipe_ctx->plane_state; in hwss_setup_dpp()
745 struct dc_plane_state *plane_state = pipe_ctx->plane_state; in hwss_program_bias_and_scale()
Ddc_resource.c1178 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; in calculate_scaling_ratios()
1294 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; in calculate_inits_and_viewports()
1390 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; in resource_build_scaling_params()
1832 struct dc_plane_state *plane_state, in add_plane_to_opp_head_pipes()
1850 struct pipe_ctx *sec_pipe, struct dc_plane_state *plane_state) in insert_secondary_dpp_pipe_with_plane()
1870 struct dc_plane_state *plane_state, in acquire_secondary_dpp_pipes_and_add_plane()
1910 struct dc_plane_state *plane_state, in dc_add_plane_to_context()
1951 struct dc_plane_state *plane_state, in dc_remove_plane_from_context()
2040 struct dc_plane_state *del_planes[MAX_SURFACE_NUM] = { 0 }; in dc_rem_all_planes_for_stream()
2093 struct dc_plane_state * const *plane_states, in dc_add_all_planes_for_stream()
[all …]
Ddc.c1732 struct dc_plane_state *plane_state) in should_update_pipe_for_plane()
2342 const struct dc_plane_state *plane_state) in is_surface_in_context()
2733 struct dc_plane_state *surface, in copy_surface_update_to_plane()
3035 struct dc_plane_state *new_planes[MAX_SURFACES] = {0}; in update_planes_and_stream_state()
3073 struct dc_plane_state *surface = srf_updates[i].surface; in update_planes_and_stream_state()
3289 struct dc_plane_state *plane_state = srf_updates[i].surface; in dc_dmub_update_dirty_rect()
3344 struct dc_plane_state *plane_state = srf_updates[i].surface; in build_dmub_update_dirty_rect()
3429 struct dc_plane_state *plane_state = srf_updates[i].surface; in commit_planes_for_stream_fast()
3673 struct dc_plane_state *plane_state = srf_updates[i].surface; in commit_planes_for_stream()
3747 struct dc_plane_state *plane_state = srf_updates[i].surface; in commit_planes_for_stream()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c511 struct dc_plane_state *dc_plane_state) in amdgpu_dm_update_plane_color_mgmt() argument
519 switch (dc_plane_state->format) { in amdgpu_dm_update_plane_color_mgmt()
534 dc_plane_state->in_transfer_func->type = in amdgpu_dm_update_plane_color_mgmt()
562 dc_plane_state->in_transfer_func->tf = tf; in amdgpu_dm_update_plane_color_mgmt()
564 dc_plane_state->in_transfer_func->tf = in amdgpu_dm_update_plane_color_mgmt()
567 r = __set_input_tf(dc_plane_state->in_transfer_func, in amdgpu_dm_update_plane_color_mgmt()
576 dc_plane_state->in_transfer_func->type = TF_TYPE_PREDEFINED; in amdgpu_dm_update_plane_color_mgmt()
577 dc_plane_state->in_transfer_func->tf = tf; in amdgpu_dm_update_plane_color_mgmt()
581 dc_plane_state->in_transfer_func, NULL, false)) in amdgpu_dm_update_plane_color_mgmt()
585 dc_plane_state->in_transfer_func->type = TF_TYPE_BYPASS; in amdgpu_dm_update_plane_color_mgmt()
[all …]
Damdgpu_dm.h78 struct dc_plane_state;
721 struct dc_plane_state *dc_state;
815 struct dc_plane_state *dc_plane_state);
Damdgpu_dm.c5028 struct dc_plane_state *dc_plane_state, in fill_dc_plane_attributes() argument
5043 dc_plane_state->src_rect = scaling_info.src_rect; in fill_dc_plane_attributes()
5044 dc_plane_state->dst_rect = scaling_info.dst_rect; in fill_dc_plane_attributes()
5045 dc_plane_state->clip_rect = scaling_info.clip_rect; in fill_dc_plane_attributes()
5046 dc_plane_state->scaling_quality = scaling_info.scaling_quality; in fill_dc_plane_attributes()
5052 &dc_plane_state->address, in fill_dc_plane_attributes()
5058 dc_plane_state->format = plane_info.format; in fill_dc_plane_attributes()
5059 dc_plane_state->color_space = plane_info.color_space; in fill_dc_plane_attributes()
5060 dc_plane_state->format = plane_info.format; in fill_dc_plane_attributes()
5061 dc_plane_state->plane_size = plane_info.plane_size; in fill_dc_plane_attributes()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.h56 const struct dc_plane_state *plane_state);
60 const struct dc_plane_state *plane_state);
68 bool dcn30_does_plane_fit_in_mall(struct dc *dc, struct dc_plane_state *plane,
Ddcn30_hwseq.c73 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state) in dcn30_set_blend_lut()
148 const struct dc_plane_state *plane_state) in dcn30_set_input_transfer_func()
693 struct dc_plane_state *plane = NULL; in dcn30_apply_idle_power_optimizations()
876 bool dcn30_does_plane_fit_in_mall(struct dc *dc, struct dc_plane_state *plane, struct dc_cursor_att… in dcn30_does_plane_fit_in_mall()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer_private.h86 const struct dc_plane_state *plane_state);
147 const struct dc_plane_state *plane_state);
149 const struct dc_plane_state *plane_state);
151 const struct dc_plane_state *plane_state);
Dcore_types.h46 void enable_surface_flip_reporting(struct dc_plane_state *plane_state,
136 const struct dc_plane_state *plane_state,
149 struct dc_plane_state *plane_state);
363 struct dc_plane_state *plane_state;
Dhw_sequencer.h80 struct dc_plane_state *plane_state;
373 bool (*does_plane_fit_in_mall)(struct dc *dc, struct dc_plane_state *plane,
Dresource.h146 struct dc_plane_state *const *plane_state,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.h32 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state);
34 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state);
44 const struct dc_plane_state *plane_state);
Ddcn20_resource.h165 enum dc_status dcn20_patch_unknown_plane_state(struct dc_plane_state *plane_state);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h51 struct dc_plane_state *plane_states[MAX_SURFACE_NUM];
92 struct dc_plane_state *writeback_source_plane;
432 struct dc_plane_state *plane_state,
438 struct dc_plane_state *plane_state,
449 struct dc_plane_state * const *plane_states,
Ddc.h373 struct dc_plane_state;
1194 struct dc_plane_state { struct
1297 struct dc_plane_state *surface;
1321 struct dc_plane_state *dc_create_plane_state(struct dc *dc);
1323 const struct dc_plane_state *plane_state);
1325 void dc_plane_state_retain(struct dc_plane_state *plane_state);
1326 void dc_plane_state_release(struct dc_plane_state *plane_state);
1357 struct dc_plane_state *plane_states[MAX_SURFACES];
1369 enum dc_status dc_validate_plane(struct dc *dc, const struct dc_plane_state *plane_state);
1423 struct dc_plane_state *dc_get_surface_for_mpcc(struct dc *dc,
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.h51 const struct dc_plane_state *plane_state);
55 const struct dc_plane_state *plane_state);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/basics/
Ddc_common.h40 const struct dc_plane_state *plane_state);
Ddc_common.c82 const struct dc_plane_state *plane_state) in build_prescale_params()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.h42 enum dc_status dce100_validate_plane(const struct dc_plane_state *plane_state, struct dc_caps *caps…
/linux-6.6.21/drivers/gpu/drm/amd/display/include/
Dlogger_interface.h45 const struct dc_plane_state *const *plane_states,
/linux-6.6.21/drivers/gpu/drm/amd/display/modules/inc/
Dmod_freesync.h174 const struct dc_plane_state *plane,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.h72 const struct dc_plane_state *plane_state);

12