| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn32/ |
| H A D | dcn32_hubp.h | 47 void hubp32_update_force_pstate_disallow(struct hubp *hubp, bool pstate_disallow); 49 void hubp32_update_force_cursor_pstate_disallow(struct hubp *hubp, bool pstate_disallow); 51 void hubp32_update_mall_sel(struct hubp *hubp, uint32_t mall_sel, bool c_cursor); 53 void hubp32_prepare_subvp_buffering(struct hubp *hubp, bool enable); 55 void hubp32_phantom_hubp_post_enable(struct hubp *hubp); 57 void hubp32_cursor_set_attributes(struct hubp *hubp, 60 void hubp32_init(struct hubp *hubp);
|
| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn201/ |
| H A D | dcn201_hubp.c | 43 struct hubp *hubp, in hubp201_program_surface_config() argument 52 hubp1_dcc_control(hubp, dcc->enable, dcc->independent_64b_blks); in hubp201_program_surface_config() 53 hubp1_program_tiling(hubp, tiling_info, format); in hubp201_program_surface_config() 54 hubp1_program_size(hubp, format, plane_size, dcc); in hubp201_program_surface_config() 55 hubp1_program_pixel_format(hubp, format); in hubp201_program_surface_config() 59 struct hubp *hubp, in hubp201_program_deadline() argument 63 hubp1_program_deadline(hubp, dlg_attr, ttu_attr); in hubp201_program_deadline() 66 static void hubp201_program_requestor(struct hubp *hubp, in hubp201_program_requestor() argument 69 struct dcn201_hubp *hubp201 = TO_DCN201_HUBP(hubp); in hubp201_program_requestor() 97 struct hubp *hubp, in hubp201_setup() argument [all …]
|
| H A D | dcn201_hubp.h | 32 #define TO_DCN201_HUBP(hubp)\ argument 33 container_of(hubp, struct dcn201_hubp, base) 117 struct hubp base;
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn50/ |
| H A D | dcn50_hwseq.c | 89 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn50_update_dchubp_dpp() local 108 hubp->funcs->hubp_vtg_sel(hubp, pipe_ctx->stream_res.tg->inst); in dcn50_update_dchubp_dpp() 110 if (hubp->funcs->hubp_setup2) { in dcn50_update_dchubp_dpp() 111 hubp->funcs->hubp_setup2( in dcn50_update_dchubp_dpp() 112 hubp, in dcn50_update_dchubp_dpp() 117 hubp->funcs->hubp_setup( in dcn50_update_dchubp_dpp() 118 hubp, in dcn50_update_dchubp_dpp() 126 if (pipe_ctx->update_flags.bits.unbounded_req && hubp->funcs->set_unbounded_requesting) in dcn50_update_dchubp_dpp() 127 hubp->funcs->set_unbounded_requesting(hubp, pipe_ctx->unbounded_req); in dcn50_update_dchubp_dpp() 130 if (hubp->funcs->hubp_setup_interdependent2) { in dcn50_update_dchubp_dpp() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn21/ |
| H A D | dcn21_hubp.h | 32 #define TO_DCN21_HUBP(hubp)\ argument 33 container_of(hubp, struct dcn21_hubp, base) 106 struct hubp base; 123 struct hubp *hubp, 127 struct hubp *hubp, 132 struct hubp *hubp,
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/ |
| H A D | dcn60_hwseq.c | 778 pipe_ctx->plane_res.hubp->funcs->set_cursor_attributes( in dcn60_set_cursor_attribute() 779 pipe_ctx->plane_res.hubp, attributes); in dcn60_set_cursor_attribute() 788 const struct hubp *hubp = pipe->plane_res.hubp; in dcn60_update_cursor_offload_pipe() local 793 if (!top_pipe || !hubp || !dpp) in dcn60_update_cursor_offload_pipe() 802 p->CURSOR0_0_CURSOR_SURFACE_ADDRESS = hubp->att.SURFACE_ADDR; in dcn60_update_cursor_offload_pipe() 803 p->CURSOR0_0_CURSOR_SURFACE_ADDRESS_HIGH = hubp->att.SURFACE_ADDR_HIGH; in dcn60_update_cursor_offload_pipe() 804 p->CURSOR0_0_CURSOR_SIZE__CURSOR_WIDTH = hubp->att.size.bits.width; in dcn60_update_cursor_offload_pipe() 805 p->CURSOR0_0_CURSOR_SIZE__CURSOR_HEIGHT = hubp->att.size.bits.height; in dcn60_update_cursor_offload_pipe() 806 p->CURSOR0_0_CURSOR_POSITION__CURSOR_X_POSITION = hubp->pos.position.bits.x_pos; in dcn60_update_cursor_offload_pipe() 807 p->CURSOR0_0_CURSOR_POSITION__CURSOR_Y_POSITION = hubp->pos.position.bits.y_pos; in dcn60_update_cursor_offload_pipe() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 1379 dc->hwss.update_visual_confirm_color(dc, pipe, pipe->plane_res.hubp->mpcc_id); in dc_stream_adjust_vmin_vmax() 2655 mpcc_id = res_ctx->pipe_ctx[pipe_idx].plane_res.hubp->inst; in dc_acquire_release_mpc_3dlut() 3985 (!tmp_pipe->plane_res.mi && !tmp_pipe->plane_res.hubp) || in program_cursor_position_sequence() 5052 pipe_ctx->plane_res.hubp->inst); in commit_planes_for_stream() 5143 cur_pipe->plane_res.hubp->funcs->validate_dml_output( in commit_planes_for_stream() 5144 cur_pipe->plane_res.hubp, dc->ctx, in commit_planes_for_stream() 6470 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dc_get_flip_pending_on_otg() local 6478 if (hubp && hubp->funcs->hubp_is_flip_pending && in dc_get_flip_pending_on_otg() 6479 hubp->funcs->hubp_is_flip_pending(hubp)) { in dc_get_flip_pending_on_otg() 6746 struct hubp *hubp; in blank_and_force_memclk() local [all …]
|
| H A D | dc_surface.c | 76 if (pipe_ctx->plane_state == plane_state && pipe_ctx->plane_res.hubp) in dc_plane_get_pipe_mask() 77 pipe_mask |= (uint8_t)(1 << pipe_ctx->plane_res.hubp->inst); in dc_plane_get_pipe_mask()
|
| H A D | dc_resource.c | 2702 split_pipe->plane_res.hubp = pool->hubps[i]; in acquire_first_split_pipe() 4047 pipe_ctx->plane_res.hubp = pool->hubps[id_src[i]]; in acquire_resource_from_hw_enabled_state() 4192 pipe_ctx->plane_res.hubp = pool->hubps[pipe_idx]; in acquire_otg_master_pipe_for_stream() 5950 sec_pipe->plane_res.hubp = pool->hubps[pipe_idx]; in dc_resource_acquire_secondary_pipe_for_mpc_odm_legacy()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| H A D | dcn30_hwseq.c | 915 struct hubp *hubp = pipe_ctx->plane_res.hubp; in dcn30_program_dmdata_engine() local 929 if (!hubp) in dcn30_program_dmdata_engine() 939 hubp->inst, dmdata_hdmi); in dcn30_program_dmdata_engine() 945 hubp->inst, mode); in dcn30_program_dmdata_engine() 1315 struct hubp *hubp = dc->res_pool->hubps[i]; in dcn30_get_underflow_debug_data() local 1323 if (hubp) in dcn30_get_underflow_debug_data() 1324 if (hubp->funcs->hubp_read_reg_state) in dcn30_get_underflow_debug_data() 1325 hubp->funcs->hubp_read_reg_state(hubp, out_data->hubp_reg_state[i]); in dcn30_get_underflow_debug_data()
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | Makefile | 25 DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link dsc resource optc dpp hubbub dccg hubp dio…
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_dc_resource_mgmt.c | 280 if (existing_state->res_ctx.pipe_ctx[i].plane_res.hubp && in find_preferred_pipe_candidates() 281 existing_state->res_ctx.pipe_ctx[i].plane_res.hubp->opp_id != i && in find_preferred_pipe_candidates() 321 if ((existing_state->res_ctx.pipe_ctx[i].plane_res.hubp && in find_last_resort_pipe_candidates() 322 existing_state->res_ctx.pipe_ctx[i].plane_res.hubp->opp_id != i) || in find_last_resort_pipe_candidates()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource.c | 964 static struct hubp *dcn32_hubp_create( in dcn32_hubp_create() 2949 idle_pipe->plane_res.hubp = pool->hubps[idle_pipe->pipe_idx]; in dcn32_acquire_idle_pipe_for_head_pipe_in_layer() 3008 free_pipe->plane_res.hubp = pool->hubps[free_pipe->pipe_idx]; in dcn32_acquire_free_pipe_as_secondary_dpp_pipe() 3040 free_pipe->plane_res.hubp = pool->hubps[free_pipe_idx]; in dcn32_acquire_free_pipe_as_secondary_opp_head()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn60/ |
| H A D | dcn60_resource.c | 884 if (get_plane_index(context, pipe_ctx->plane_state, &plane_idx) && pipe_ctx->plane_res.hubp) { in build_mcache_pipe_regs_config() 1133 static struct hubp *dcn60_hubp_create( in dcn60_hubp_create()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
| H A D | dcn30_resource.c | 1357 static struct hubp *dcn30_hubp_create( in dcn30_hubp_create() 1695 sec_pipe->plane_res.hubp = pool->hubps[pipe_idx]; in dcn30_split_stream_for_mpc_or_odm()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/ |
| H A D | dcn303_resource.c | 606 static struct hubp *dcn303_hubp_create(struct dc_context *ctx, uint32_t inst) in dcn303_hubp_create()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/ |
| H A D | dcn302_resource.c | 625 static struct hubp *dcn302_hubp_create(struct dc_context *ctx, uint32_t inst) in dcn302_hubp_create()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/ |
| H A D | dcn316_resource.c | 1648 static struct hubp *dcn31_hubp_create( in dcn31_hubp_create()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/ |
| H A D | dcn314_resource.c | 1715 static struct hubp *dcn31_hubp_create( in dcn31_hubp_create()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/ |
| H A D | dcn36_resource.c | 1711 static struct hubp *dcn35_hubp_create( in dcn35_hubp_create()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
| H A D | dcn31_resource.c | 1656 static struct hubp *dcn31_hubp_create( in dcn31_hubp_create()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/ |
| H A D | dcn35_resource.c | 1724 static struct hubp *dcn35_hubp_create( in dcn35_hubp_create()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
| H A D | dcn315_resource.c | 1658 static struct hubp *dcn31_hubp_create( in dcn31_hubp_create()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/ |
| H A D | dcn321_resource.c | 952 static struct hubp *dcn321_hubp_create( in dcn321_hubp_create()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
| H A D | dcn351_resource.c | 1704 static struct hubp *dcn35_hubp_create( in dcn35_hubp_create()
|