/openbsd-current/sys/dev/pci/drm/amd/display/dc/inc/hw/ |
H A D | dchubbub.h | 123 struct hubbub *hubbub, 127 struct hubbub *hubbub, 130 struct hubbub *hubbub, 134 bool (*get_dcc_compression_cap)(struct hubbub *hubbub, 148 void (*wm_read_state)(struct hubbub *hubbub, 198 struct hubbub { struct [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn201/ |
H A D | dcn201_hubbub.c | 54 struct hubbub *hubbub, 59 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); 62 if (hubbub1_program_urgent_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) 65 if (hubbub1_program_pstate_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) 73 hubbub1_allow_self_refresh_control(hubbub, !hubbub->ctx->dc->debug.disable_stutter); 91 void hubbub201_construct(struct dcn20_hubbub *hubbub, argument 97 hubbub->base.ctx = ctx; 99 hubbub 53 hubbub201_program_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument [all...] |
H A D | dcn201_hubbub.h | 39 void hubbub201_construct(struct dcn20_hubbub *hubbub,
|
H A D | dcn201_resource.c | 739 static struct hubbub *dcn201_hubbub_create(struct dc_context *ctx) 741 struct dcn20_hubbub *hubbub = kzalloc(sizeof(struct dcn20_hubbub), local 744 if (!hubbub) 747 hubbub201_construct(hubbub, ctx, 752 return &hubbub->base; 923 if (pool->base.hubbub != NULL) { 924 kfree(pool->base.hubbub); 925 pool->base.hubbub = NULL; 1027 return dc->res_pool->hubbub->funcs->get_dcc_compression_cap( 1028 dc->res_pool->hubbub, [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hubbub.h | 32 #define TO_DCN20_HUBBUB(hubbub)\ 33 container_of(hubbub, struct dcn20_hubbub, base) 83 struct hubbub base; 101 void hubbub2_construct(struct dcn20_hubbub *hubbub, 117 bool hubbub2_get_dcc_compression_cap(struct hubbub *hubbub, 121 bool hubbub2_initialize_vmids(struct hubbub *hubbub, 125 int hubbub2_init_dchub_sys_ctx(struct hubbub *hubbub, [all...] |
H A D | dcn20_hubbub.c | 217 bool hubbub2_get_dcc_compression_cap(struct hubbub *hubbub, argument 221 struct dc *dc = hubbub->ctx->dc; 233 if (!hubbub->funcs->dcc_support_pixel_format(input->format, 237 if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, 241 hubbub2_det_request_size(TO_DCN20_HUBBUB(hubbub)->detile_buf_size, 357 void hubbub2_init_vm_ctx(struct hubbub *hubbub, argument 361 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); 373 int hubbub2_init_dchub_sys_ctx(struct hubbub *hubbu argument 410 hubbub2_update_dchub(struct hubbub *hubbub, struct dchub_init_data *dh_data) argument 485 hubbub2_wm_read_state(struct hubbub *hubbub, struct dcn_hubbub_wm *wm) argument 539 hubbub2_get_dchub_ref_freq(struct hubbub *hubbub, unsigned int dccg_ref_freq_inKhz, unsigned int *dchub_ref_freq_inKhz) argument 571 hubbub2_program_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 608 hubbub2_read_state(struct hubbub *hubbub, struct dcn_hubbub_state *hubbub_state) argument 654 hubbub2_construct(struct dcn20_hubbub *hubbub, struct dc_context *ctx, const struct dcn_hubbub_registers *hubbub_regs, const struct dcn_hubbub_shift *hubbub_shift, const struct dcn_hubbub_mask *hubbub_mask) argument [all...] |
H A D | dcn20_hwseq.c | 1727 if (dc->res_pool->hubbub->funcs->force_wm_propagate_to_pipes) 1728 dc->res_pool->hubbub->funcs->force_wm_propagate_to_pipes(dc->res_pool->hubbub); 1731 if (dc->res_pool->hubbub->funcs->program_det_size && pipe_ctx->update_flags.bits.det_size) 1732 dc->res_pool->hubbub->funcs->program_det_size( 1733 dc->res_pool->hubbub, pipe_ctx->plane_res.hubp->inst, pipe_ctx->det_buffer_size_kb); 1828 if (dc->res_pool->hubbub->funcs->force_pstate_change_control) 1829 dc->res_pool->hubbub->funcs->force_pstate_change_control( 1830 dc->res_pool->hubbub, true, false); 1874 struct hubbub *hubbu local 2051 struct hubbub *hubbub = dc->res_pool->hubbub; local 2102 struct hubbub *hubbub = dc->res_pool->hubbub; local [all...] |
H A D | dcn20_resource.h | 110 struct hubbub *dcn20_hubbub_create(struct dc_context *ctx);
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hubbub.h | 110 int hubbub3_init_dchub_sys_ctx(struct hubbub *hubbub, 119 void hubbub3_force_wm_propagate_to_pipes(struct hubbub *hubbub); 121 bool hubbub3_get_dcc_compression_cap(struct hubbub *hubbub, 126 struct hubbub *hubbub, 131 void hubbub3_force_pstate_change_control(struct hubbub *hubbub, [all...] |
H A D | dcn30_hubbub.c | 64 int hubbub3_init_dchub_sys_ctx(struct hubbub *hubbub, argument 67 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); 97 struct hubbub *hubbub, 102 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); 105 if (hubbub21_program_urgent_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) 108 if (hubbub21_program_stutter_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) 111 if (hubbub21_program_pstate_watermarks(hubbub, watermarks, refclk_mhz, safe_to_lower)) 132 hubbub1_allow_self_refresh_control(hubbub, !hubbu 96 hubbub3_program_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 275 hubbub3_get_dcc_compression_cap(struct hubbub *hubbub, const struct dc_dcc_surface_param *input, struct dc_surface_dcc_cap *output) argument 375 hubbub3_force_wm_propagate_to_pipes(struct hubbub *hubbub) argument 387 hubbub3_force_pstate_change_control(struct hubbub *hubbub, bool force, bool allow) argument 398 hubbub3_init_watermarks(struct hubbub *hubbub) argument [all...] |
H A D | dcn30_hwseq.c | 473 if (res_pool->dccg && res_pool->hubbub) { 479 (res_pool->hubbub->funcs->get_dchub_ref_freq)(res_pool->hubbub, 525 if (dc->res_pool->hubbub->funcs->allow_self_refresh_control) 526 dc->res_pool->hubbub->funcs->allow_self_refresh_control(dc->res_pool->hubbub, 527 !dc->res_pool->hubbub->ctx->dc->debug.disable_stutter); 595 if (!dcb->funcs->is_accelerated_mode(dcb) && dc->res_pool->hubbub->funcs->init_watermarks) 596 dc->res_pool->hubbub->funcs->init_watermarks(dc->res_pool->hubbub); [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hubbub.h | 118 struct hubbub *hubbub, 124 struct hubbub *hubbub, 130 struct hubbub *hubbub, 136 struct hubbub *hubbub, 141 void hubbub32_force_usr_retraining_allow(struct hubbub *hubbub, boo [all...] |
H A D | dcn32_hubbub.c | 50 static void dcn32_init_crb(struct hubbub *hubbub) argument 52 struct dcn20_hubbub *hubbub2 = TO_DCN20_HUBBUB(hubbub); 75 void hubbub32_set_request_limit(struct hubbub *hubbub, int memory_channel_count, int words_per_channel) argument 77 struct dcn20_hubbub *hubbub2 = TO_DCN20_HUBBUB(hubbub); 92 void dcn32_program_det_size(struct hubbub *hubbub, int hubp_inst, unsigned int det_buffer_size_in_kbyte) argument 94 struct dcn20_hubbub *hubbub2 = TO_DCN20_HUBBUB(hubbub); 131 static void dcn32_program_compbuf_size(struct hubbub *hubbu argument 168 hubbub32_program_urgent_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 358 hubbub32_program_stutter_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 504 hubbub32_program_pstate_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 657 hubbub32_program_usr_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 737 hubbub32_force_usr_retraining_allow(struct hubbub *hubbub, bool allow) argument 751 hubbub32_program_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 797 hubbub32_init_watermarks(struct hubbub *hubbub) argument 848 hubbub32_wm_read_state(struct hubbub *hubbub, struct dcn_hubbub_wm *wm) argument 937 hubbub32_force_wm_propagate_to_pipes(struct hubbub *hubbub) argument 948 hubbub32_init(struct hubbub *hubbub) argument [all...] |
H A D | dcn32_hwseq.c | 801 if (res_pool->dccg && res_pool->hubbub) { 806 (res_pool->hubbub->funcs->get_dchub_ref_freq)(res_pool->hubbub, 863 if (dc->res_pool->hubbub->funcs->allow_self_refresh_control) 864 dc->res_pool->hubbub->funcs->allow_self_refresh_control(dc->res_pool->hubbub, 865 !dc->res_pool->hubbub->ctx->dc->debug.disable_stutter); 948 if (!dcb->funcs->is_accelerated_mode(dcb) && dc->res_pool->hubbub->funcs->init_watermarks) 949 dc->res_pool->hubbub->funcs->init_watermarks(dc->res_pool->hubbub); [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hubbub.h | 32 #define TO_DCN10_HUBBUB(hubbub)\ 33 container_of(hubbub, struct dcn10_hubbub, base) 397 struct hubbub base; 406 struct hubbub *hubbub, 410 struct hubbub *hubbub); 412 void hubbub1_wm_change_req_wa(struct hubbub *hubbub); 415 struct hubbub *hubbu [all...] |
H A D | dcn10_hubbub.c | 42 void hubbub1_wm_read_state(struct hubbub *hubbub, argument 45 struct dcn10_hubbub *hubbub1 = TO_DCN10_HUBBUB(hubbub); 91 void hubbub1_allow_self_refresh_control(struct hubbub *hubbub, bool allow) argument 93 struct dcn10_hubbub *hubbub1 = TO_DCN10_HUBBUB(hubbub); 104 bool hubbub1_is_allow_self_refresh_enabled(struct hubbub *hubbub) argument 106 struct dcn10_hubbub *hubbub1 = TO_DCN10_HUBBUB(hubbub); 117 struct hubbub *hubbu 116 hubbub1_verify_allow_pstate_change_high( struct hubbub *hubbub) argument 234 hubbub1_wm_change_req_wa(struct hubbub *hubbub) argument 243 hubbub1_program_urgent_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 357 hubbub1_program_stutter_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 502 hubbub1_program_pstate_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 583 hubbub1_program_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 619 hubbub1_update_dchub( struct hubbub *hubbub, struct dchub_init_data *dh_data) argument 682 hubbub1_toggle_watermark_change_req(struct hubbub *hubbub) argument 700 hubbub1_soft_reset(struct hubbub *hubbub, bool reset) argument 843 hubbub1_get_dcc_compression_cap(struct hubbub *hubbub, const struct dc_dcc_surface_param *input, struct dc_surface_dcc_cap *output) argument 944 hubbub1_construct(struct hubbub *hubbub, struct dc_context *ctx, const struct dcn_hubbub_registers *hubbub_regs, const struct dcn_hubbub_shift *hubbub_shift, const struct dcn_hubbub_mask *hubbub_mask) argument [all...] |
H A D | dcn10_hw_sequencer.c | 147 dc->res_pool->hubbub->funcs->wm_read_state(dc->res_pool->hubbub, &wm); 816 if (dc->res_pool->hubbub->funcs->is_allow_self_refresh_enabled) 818 dc->res_pool->hubbub->funcs->is_allow_self_refresh_enabled(dc->res_pool->hubbub); 838 if (dc->res_pool->hubbub->funcs->allow_self_refresh_control) 840 dc->res_pool->hubbub->funcs->is_allow_self_refresh_enabled(dc->res_pool->hubbub)) 841 dc->res_pool->hubbub->funcs->allow_self_refresh_control(dc->res_pool->hubbub, 1158 struct hubbub *hubbub = dc->res_pool->hubbub; local 1311 struct hubbub *hubbub = dc->res_pool->hubbub; local 3051 struct hubbub *hubbub = dc->res_pool->hubbub; local 3089 struct hubbub *hubbub = dc->res_pool->hubbub; local 3339 struct hubbub *hubbub = dc->res_pool->hubbub; local 3349 struct hubbub *hubbub = hws->ctx->dc->res_pool->hubbub; local [all...] |
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hubbub.h | 125 void dcn21_dchvm_init(struct hubbub *hubbub); 126 int hubbub21_init_dchub(struct hubbub *hubbub, 129 struct hubbub *hubbub, 134 struct hubbub *hubbub, 139 struct hubbub *hubbub, [all...] |
H A D | dcn21_hubbub.c | 67 void dcn21_dchvm_init(struct hubbub *hubbub) argument 69 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); 103 hubbub->riommu_active = true; 107 int hubbub21_init_dchub(struct hubbub *hubbub, argument 110 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); 136 dcn21_dchvm_init(hubbub); 142 struct hubbub *hubbub, 141 hubbub21_program_urgent_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 335 hubbub21_program_stutter_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 488 hubbub21_program_pstate_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 574 hubbub21_program_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 618 hubbub21_wm_read_state(struct hubbub *hubbub, struct dcn_hubbub_wm *wm) argument 683 hubbub21_apply_DEDCN21_147_wa(struct hubbub *hubbub) argument 707 hubbub21_construct(struct dcn20_hubbub *hubbub, struct dc_context *ctx, const struct dcn_hubbub_registers *hubbub_regs, const struct dcn_hubbub_shift *hubbub_shift, const struct dcn_hubbub_mask *hubbub_mask) argument [all...] |
H A D | dcn21_resource.c | 699 if (pool->base.hubbub != NULL) { 700 kfree(pool->base.hubbub); 701 pool->base.hubbub = NULL; 1014 static struct hubbub *dcn21_hubbub_create(struct dc_context *ctx) 1018 struct dcn20_hubbub *hubbub = kzalloc(sizeof(struct dcn20_hubbub), local 1021 if (!hubbub) 1024 hubbub21_construct(hubbub, ctx, 1030 struct dcn20_vmid *vmid = &hubbub->vmid[i]; 1038 hubbub->num_vmid = res_cap_rn.num_vmid; 1040 return &hubbub [all...] |
H A D | dcn21_hwseq.c | 83 return dc->res_pool->hubbub->funcs->init_dchub_sys_ctx(dc->res_pool->hubbub, &config);
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hubbub.c | 51 static void dcn31_init_crb(struct hubbub *hubbub) argument 53 struct dcn20_hubbub *hubbub2 = TO_DCN20_HUBBUB(hubbub); 76 static void dcn31_program_det_size(struct hubbub *hubbub, int hubp_inst, unsigned int det_buffer_size_in_kbyte) argument 78 struct dcn20_hubbub *hubbub2 = TO_DCN20_HUBBUB(hubbub); 112 static void dcn31_program_compbuf_size(struct hubbub *hubbub, unsigned int compbuf_size_kb, bool safe_to_increase) argument 114 struct dcn20_hubbub *hubbub2 = TO_DCN20_HUBBUB(hubbub); 152 struct hubbub *hubbu 151 hubbub31_program_urgent_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 341 hubbub31_program_stutter_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 614 hubbub31_program_pstate_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 696 hubbub31_program_watermarks( struct hubbub *hubbub, struct dcn_watermark_set *watermarks, unsigned int refclk_mhz, bool safe_to_lower) argument 781 hubbub31_get_dcc_compression_cap(struct hubbub *hubbub, const struct dc_dcc_surface_param *input, struct dc_surface_dcc_cap *output) argument 880 hubbub31_init_dchub_sys_ctx(struct hubbub *hubbub, struct dcn_hubbub_phys_addr_config *pa_config) argument 916 hubbub31_get_dchub_ref_freq(struct hubbub *hubbub, unsigned int dccg_ref_freq_inKhz, unsigned int *dchub_ref_freq_inKhz) argument 953 hubbub31_verify_allow_pstate_change_high(struct hubbub *hubbub) argument 1012 hubbub31_init(struct hubbub *hubbub) argument [all...] |
H A D | dcn31_hwseq.c | 135 if (res_pool->dccg && res_pool->hubbub) { 141 (res_pool->hubbub->funcs->get_dchub_ref_freq)(res_pool->hubbub, 212 if (dc->res_pool->hubbub->funcs->allow_self_refresh_control) 213 dc->res_pool->hubbub->funcs->allow_self_refresh_control(dc->res_pool->hubbub, 214 !dc->res_pool->hubbub->ctx->dc->debug.disable_stutter); 254 if (!dcb->funcs->is_accelerated_mode(dcb) && dc->res_pool->hubbub->funcs->init_watermarks) 255 dc->res_pool->hubbub->funcs->init_watermarks(dc->res_pool->hubbub); [all...] |
H A D | dcn31_hubbub.h | 133 int hubbub31_init_dchub_sys_ctx(struct hubbub *hubbub, 136 void hubbub31_init(struct hubbub *hubbub);
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/inc/ |
H A D | core_types.h | 216 struct hubbub *hubbub; member in struct:resource_pool
|