Searched refs:plane_res (Results 1 – 11 of 11) sorted by relevance
481 struct scaler_data *data = &pipe_ctx->plane_res.scl_data; in calculate_viewport()579 pipe_ctx->plane_res.scl_data.recout.x = stream->dst.x; in calculate_recout()581 pipe_ctx->plane_res.scl_data.recout.x += (surf_clip.x in calculate_recout()585 pipe_ctx->plane_res.scl_data.recout.width = surf_clip.width * in calculate_recout()587 if (pipe_ctx->plane_res.scl_data.recout.width + pipe_ctx->plane_res.scl_data.recout.x > in calculate_recout()589 pipe_ctx->plane_res.scl_data.recout.width = in calculate_recout()591 - pipe_ctx->plane_res.scl_data.recout.x; in calculate_recout()593 pipe_ctx->plane_res.scl_data.recout.y = stream->dst.y; in calculate_recout()595 pipe_ctx->plane_res.scl_data.recout.y += (surf_clip.y in calculate_recout()599 pipe_ctx->plane_res.scl_data.recout.height = surf_clip.height * in calculate_recout()[all …]
254 (!pipe_ctx->plane_res.mi && !pipe_ctx->plane_res.hubp) || in dc_stream_set_cursor_position()256 (!pipe_ctx->plane_res.xfm && !pipe_ctx->plane_res.dpp) || in dc_stream_set_cursor_position()257 !pipe_ctx->plane_res.ipp) in dc_stream_set_cursor_position()
352 if (pipes->plane_res.xfm && in dc_stream_set_dither_option()353 pipes->plane_res.xfm->funcs->transform_set_pixel_storage_depth) { in dc_stream_set_dither_option()354 pipes->plane_res.xfm->funcs->transform_set_pixel_storage_depth( in dc_stream_set_dither_option()355 pipes->plane_res.xfm, in dc_stream_set_dither_option()356 pipes->plane_res.scl_data.lb_params.depth, in dc_stream_set_dither_option()
267 struct input_pixel_processor *ipp = pipe_ctx->plane_res.ipp; in dce110_set_input_transfer_func()595 struct transform *xfm = pipe_ctx->plane_res.xfm; in dce110_set_output_transfer_func()1218 switch (pipe_ctx->plane_res.scl_data.format) { in get_surface_visual_confirm_color()1255 if (pipe_ctx->plane_res.xfm->funcs->transform_set_pixel_storage_depth == NULL) in program_scaler()1266 pipe_ctx->plane_res.xfm->funcs->transform_set_pixel_storage_depth( in program_scaler()1267 pipe_ctx->plane_res.xfm, in program_scaler()1268 pipe_ctx->plane_res.scl_data.lb_params.depth, in program_scaler()1276 pipe_ctx->plane_res.xfm->funcs->transform_set_scaler(pipe_ctx->plane_res.xfm, in program_scaler()1277 &pipe_ctx->plane_res.scl_data); in program_scaler()1440 pipe_ctx->plane_res.scl_data.lb_params.alpha_en = pipe_ctx->bottom_pipe != 0; in apply_single_controller_ctx_to_hw()[all …]
977 pipe_ctx->plane_res.mi = pool->mis[underlay_idx]; in dce110_acquire_underlay()979 pipe_ctx->plane_res.xfm = pool->transforms[underlay_idx]; in dce110_acquire_underlay()1008 pipe_ctx->plane_res.mi->funcs->allocate_mem_input(pipe_ctx->plane_res.mi, in dce110_acquire_underlay()
766 hubp = pipe_ctx->plane_res.hubp; in dcn10_hw_wa_force_recovery()791 hubp = pipe_ctx->plane_res.hubp; in dcn10_hw_wa_force_recovery()804 hubp = pipe_ctx->plane_res.hubp; in dcn10_hw_wa_force_recovery()814 hubp = pipe_ctx->plane_res.hubp; in dcn10_hw_wa_force_recovery()826 hubp = pipe_ctx->plane_res.hubp; in dcn10_hw_wa_force_recovery()857 struct hubp *hubp = pipe_ctx->plane_res.hubp; in hwss1_plane_atomic_disconnect()858 int dpp_id = pipe_ctx->plane_res.dpp->inst; in hwss1_plane_atomic_disconnect()873 opp->mpcc_disconnect_pending[pipe_ctx->plane_res.mpcc_inst] = true; in hwss1_plane_atomic_disconnect()887 struct dpp *dpp = pipe_ctx->plane_res.dpp; in plane_atomic_power_down()894 hubp_pg_control(hws, pipe_ctx->plane_res.hubp->inst, false); in plane_atomic_power_down()[all …]
1037 idle_pipe->plane_res.hubp = pool->hubps[idle_pipe->pipe_idx]; in dcn10_acquire_idle_pipe_for_layer()1038 idle_pipe->plane_res.ipp = pool->ipps[idle_pipe->pipe_idx]; in dcn10_acquire_idle_pipe_for_layer()1039 idle_pipe->plane_res.dpp = pool->dpps[idle_pipe->pipe_idx]; in dcn10_acquire_idle_pipe_for_layer()1040 idle_pipe->plane_res.mpcc_inst = pool->dpps[idle_pipe->pipe_idx]->inst; in dcn10_acquire_idle_pipe_for_layer()
253 if (pipe->plane_res.dpp->ctx->dc->debug.optimized_watermark) { in pipe_ctx_to_e2e_pipe_params()268 input->src.dcc = pipe->plane_res.dpp->ctx->dc->res_pool->hubbub->funcs-> in pipe_ctx_to_e2e_pipe_params()276 input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params()277 input->src.viewport_height = pipe->plane_res.scl_data.viewport.height; in pipe_ctx_to_e2e_pipe_params()278 input->src.data_pitch = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params()279 input->src.data_pitch_c = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params()373 input->scale_taps.htaps = pipe->plane_res.scl_data.taps.h_taps; in pipe_ctx_to_e2e_pipe_params()374 input->scale_ratio_depth.hscl_ratio = pipe->plane_res.scl_data.ratios.horz.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()375 input->scale_ratio_depth.vscl_ratio = pipe->plane_res.scl_data.ratios.vert.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()376 input->scale_ratio_depth.vinit = pipe->plane_res.scl_data.inits.v.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()[all …]
2796 data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width); in populate_initial_data()2798 data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.height); in populate_initial_data()2799 data->h_taps[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.taps.h_taps); in populate_initial_data()2800 data->v_taps[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.taps.v_taps); in populate_initial_data()2801 …data->h_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.h… in populate_initial_data()2802 …data->v_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.v… in populate_initial_data()2850 …data->src_height[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.v… in populate_initial_data()2851 …data->src_width[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.vi… in populate_initial_data()2854 …data->h_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.… in populate_initial_data()2855 …data->v_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.… in populate_initial_data()[all …]
213 struct plane_resource plane_res; member
551 pipe_ctx->plane_res.dpp->funcs->dpp_dppclk_control( in dcn1_ramp_up_dispclk_with_dpp()552 pipe_ctx->plane_res.dpp, in dcn1_ramp_up_dispclk_with_dpp()