Home
last modified time | relevance | path

Searched refs:hubbub (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
A Ddchubbub.h116 struct hubbub *hubbub,
120 struct hubbub *hubbub,
123 struct hubbub *hubbub,
127 bool (*get_dcc_compression_cap)(struct hubbub *hubbub,
141 void (*wm_read_state)(struct hubbub *hubbub,
144 void (*get_dchub_ref_freq)(struct hubbub *hubbub,
149 struct hubbub *hubbub,
157 void (*apply_DEDCN21_147_wa)(struct hubbub *hubbub);
159 void (*force_wm_propagate_to_pipes)(struct hubbub *hubbub);
165 void (*init_watermarks)(struct hubbub *hubbub);
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_hubbub.h32 #define TO_DCN20_HUBBUB(hubbub)\ argument
33 container_of(hubbub, struct dcn20_hubbub, base)
83 struct hubbub base;
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,
127 void hubbub2_init_vm_ctx(struct hubbub *hubbub,
130 void hubbub2_update_dchub(struct hubbub *hubbub,
133 void hubbub2_get_dchub_ref_freq(struct hubbub *hubbub,
137 void hubbub2_wm_read_state(struct hubbub *hubbub,
[all …]
A Ddcn20_hubbub.c217 bool hubbub2_get_dcc_compression_cap(struct hubbub *hubbub, in hubbub2_get_dcc_compression_cap() argument
357 void hubbub2_init_vm_ctx(struct hubbub *hubbub, in hubbub2_init_vm_ctx() argument
373 int hubbub2_init_dchub_sys_ctx(struct hubbub *hubbub, in hubbub2_init_dchub_sys_ctx() argument
410 void hubbub2_update_dchub(struct hubbub *hubbub, in hubbub2_update_dchub() argument
485 void hubbub2_wm_read_state(struct hubbub *hubbub, in hubbub2_wm_read_state() argument
539 void hubbub2_get_dchub_ref_freq(struct hubbub *hubbub, in hubbub2_get_dchub_ref_freq() argument
572 struct hubbub *hubbub, in hubbub2_program_watermarks() argument
604 hubbub->funcs->allow_self_refresh_control(hubbub, !hubbub->ctx->dc->debug.disable_stutter); in hubbub2_program_watermarks()
608 void hubbub2_read_state(struct hubbub *hubbub, struct dcn_hubbub_state *hubbub_state) in hubbub2_read_state() argument
649 hubbub->base.ctx = ctx; in hubbub2_construct()
[all …]
A Ddcn20_hwseq.c1608 dc->res_pool->hubbub->funcs->force_wm_propagate_to_pipes(dc->res_pool->hubbub); in dcn20_program_pipe()
1705 struct hubbub *hubbub = dc->res_pool->hubbub; in dcn20_program_front_end_for_ctx() local
1793 dc->res_pool->hubbub->funcs->apply_DEDCN21_147_wa(dc->res_pool->hubbub); in dcn20_post_unlock_program_front_end()
1804 dc->res_pool->hubbub->funcs->allow_self_refresh_control(dc->res_pool->hubbub, false); in dcn20_post_unlock_program_front_end()
1816 struct hubbub *hubbub = dc->res_pool->hubbub; in dcn20_prepare_bandwidth() local
1824 dc->wm_optimized_required = hubbub->funcs->program_watermarks(hubbub, in dcn20_prepare_bandwidth()
1837 struct hubbub *hubbub = dc->res_pool->hubbub; in dcn20_optimize_bandwidth() local
1840 hubbub->funcs->program_watermarks(hubbub, in dcn20_optimize_bandwidth()
2046 dc->res_pool->hubbub->funcs->init_vm_ctx(dc->res_pool->hubbub, &config, vmid); in dcn20_init_vm_ctx()
2064 return dc->res_pool->hubbub->funcs->init_dchub_sys_ctx(dc->res_pool->hubbub, &config); in dcn20_init_sys_ctx()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn201/
A Ddcn201_hubbub.c54 struct hubbub *hubbub, in hubbub201_program_watermarks() argument
59 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); in hubbub201_program_watermarks()
73 hubbub1_allow_self_refresh_control(hubbub, !hubbub->ctx->dc->debug.disable_stutter); in hubbub201_program_watermarks()
91 void hubbub201_construct(struct dcn20_hubbub *hubbub, in hubbub201_construct() argument
97 hubbub->base.ctx = ctx; in hubbub201_construct()
99 hubbub->base.funcs = &hubbub201_funcs; in hubbub201_construct()
101 hubbub->regs = hubbub_regs; in hubbub201_construct()
102 hubbub->shifts = hubbub_shift; in hubbub201_construct()
103 hubbub->masks = hubbub_mask; in hubbub201_construct()
105 hubbub->debug_test_index_pstate = 0xB; in hubbub201_construct()
[all …]
A Ddcn201_resource.c742 static struct hubbub *dcn201_hubbub_create(struct dc_context *ctx) in dcn201_hubbub_create()
747 if (!hubbub) in dcn201_hubbub_create()
750 hubbub201_construct(hubbub, ctx, in dcn201_hubbub_create()
755 return &hubbub->base; in dcn201_hubbub_create()
932 if (pool->base.hubbub != NULL) { in dcn201_resource_destruct()
933 kfree(pool->base.hubbub); in dcn201_resource_destruct()
934 pool->base.hubbub = NULL; in dcn201_resource_destruct()
1035 return dc->res_pool->hubbub->funcs->get_dcc_compression_cap( in dcn201_get_dcc_compression_cap()
1036 dc->res_pool->hubbub, in dcn201_get_dcc_compression_cap()
1263 pool->base.hubbub = dcn201_hubbub_create(ctx); in dcn201_resource_construct()
[all …]
A Ddcn201_hubbub.h39 void hubbub201_construct(struct dcn20_hubbub *hubbub,
A Ddcn201_hwseq.c251 if (res_pool->dccg && res_pool->hubbub) { in dcn201_init_hw()
256 (res_pool->hubbub->funcs->get_dchub_ref_freq)(res_pool->hubbub, in dcn201_init_hw()
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_hubbub.c64 int hubbub3_init_dchub_sys_ctx(struct hubbub *hubbub, in hubbub3_init_dchub_sys_ctx() argument
67 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); in hubbub3_init_dchub_sys_ctx()
97 struct hubbub *hubbub, in hubbub3_program_watermarks() argument
102 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); in hubbub3_program_watermarks()
132 hubbub1_allow_self_refresh_control(hubbub, !hubbub->ctx->dc->debug.disable_stutter); in hubbub3_program_watermarks()
275 bool hubbub3_get_dcc_compression_cap(struct hubbub *hubbub, in hubbub3_get_dcc_compression_cap() argument
279 struct dc *dc = hubbub->ctx->dc; in hubbub3_get_dcc_compression_cap()
375 void hubbub3_force_wm_propagate_to_pipes(struct hubbub *hubbub) in hubbub3_force_wm_propagate_to_pipes() argument
377 struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub); in hubbub3_force_wm_propagate_to_pipes()
387 void hubbub3_force_pstate_change_control(struct hubbub *hubbub, in hubbub3_force_pstate_change_control() argument
[all …]
A Ddcn30_hubbub.h110 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,
134 void hubbub3_init_watermarks(struct hubbub *hubbub);
A Ddcn30_hwseq.c496 if (res_pool->dccg && res_pool->hubbub) { in dcn30_init_hw()
502 (res_pool->hubbub->funcs->get_dchub_ref_freq)(res_pool->hubbub, in dcn30_init_hw()
582 dc->res_pool->hubbub->funcs->allow_self_refresh_control(dc->res_pool->hubbub, in dcn30_init_hw()
583 !dc->res_pool->hubbub->ctx->dc->debug.disable_stutter); in dcn30_init_hw()
654 dc->res_pool->hubbub->funcs->init_watermarks(dc->res_pool->hubbub); in dcn30_init_hw()
663 dc->res_pool->hubbub->funcs->force_pstate_change_control( in dcn30_init_hw()
664 dc->res_pool->hubbub, false, false); in dcn30_init_hw()
665 if (dc->res_pool->hubbub->funcs->init_crb) in dcn30_init_hw()
666 dc->res_pool->hubbub->funcs->init_crb(dc->res_pool->hubbub); in dcn30_init_hw()
968 dc->res_pool->hubbub->funcs->force_pstate_change_control( in dcn30_hardware_release()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_hubbub.h361 struct hubbub *hubbub,
365 struct hubbub *hubbub);
367 void hubbub1_wm_change_req_wa(struct hubbub *hubbub);
370 struct hubbub *hubbub,
380 struct hubbub *hubbub);
382 void hubbub1_wm_read_state(struct hubbub *hubbub,
385 void hubbub1_soft_reset(struct hubbub *hubbub, bool reset);
386 void hubbub1_construct(struct hubbub *hubbub,
393 struct hubbub *hubbub,
398 struct hubbub *hubbub,
[all …]
A Ddcn10_hubbub.c44 void hubbub1_wm_read_state(struct hubbub *hubbub, in hubbub1_wm_read_state() argument
106 bool hubbub1_is_allow_self_refresh_enabled(struct hubbub *hubbub) in hubbub1_is_allow_self_refresh_enabled() argument
119 struct hubbub *hubbub) in hubbub1_verify_allow_pstate_change_high() argument
236 void hubbub1_wm_change_req_wa(struct hubbub *hubbub) in hubbub1_wm_change_req_wa() argument
246 struct hubbub *hubbub, in hubbub1_program_urgent_watermarks() argument
360 struct hubbub *hubbub, in hubbub1_program_stutter_watermarks() argument
505 struct hubbub *hubbub, in hubbub1_program_pstate_watermarks() argument
586 struct hubbub *hubbub, in hubbub1_program_watermarks() argument
622 struct hubbub *hubbub, in hubbub1_update_dchub() argument
702 void hubbub1_soft_reset(struct hubbub *hubbub, bool reset) in hubbub1_soft_reset() argument
[all …]
A Ddcn10_hw_sequencer.c142 dc->res_pool->hubbub->funcs->wm_read_state(dc->res_pool->hubbub, &wm); in dcn10_log_hubbub_state()
838 dc->res_pool->hubbub->funcs->allow_self_refresh_control(dc->res_pool->hubbub, in dcn10_bios_golden_init()
1429 (res_pool->hubbub->funcs->get_dchub_ref_freq)(res_pool->hubbub, in dcn10_init_hw()
1519 dc->res_pool->hubbub->funcs->allow_self_refresh_control(dc->res_pool->hubbub, in dcn10_init_hw()
2965 struct hubbub *hubbub = dc->res_pool->hubbub; in dcn10_prepare_bandwidth() local
2980 dc->wm_optimized_required = hubbub->funcs->program_watermarks(hubbub, in dcn10_prepare_bandwidth()
2998 struct hubbub *hubbub = dc->res_pool->hubbub; in dcn10_optimize_bandwidth() local
3013 hubbub->funcs->program_watermarks(hubbub, in dcn10_optimize_bandwidth()
3232 struct hubbub *hubbub = dc->res_pool->hubbub; in dcn10_update_pending_status() local
3242 struct hubbub *hubbub = hws->ctx->dc->res_pool->hubbub; in dcn10_update_dchub() local
[all …]
A Ddcn10_resource.c759 static struct hubbub *dcn10_hubbub_create(struct dc_context *ctx) in dcn10_hubbub_create()
981 if (pool->base.hubbub != NULL) { in dcn10_resource_destruct()
982 kfree(pool->base.hubbub); in dcn10_resource_destruct()
983 pool->base.hubbub = NULL; in dcn10_resource_destruct()
1184 return dc->res_pool->hubbub->funcs->get_dcc_compression_cap( in dcn10_get_dcc_compression_cap()
1185 dc->res_pool->hubbub, in dcn10_get_dcc_compression_cap()
1654 pool->base.hubbub = dcn10_hubbub_create(ctx); in dcn10_resource_construct()
1655 if (pool->base.hubbub == NULL) { in dcn10_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/dcn21/
A Ddcn21_hubbub.h125 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,
144 struct hubbub *hubbub,
149 void hubbub21_wm_read_state(struct hubbub *hubbub,
152 void hubbub21_construct(struct dcn20_hubbub *hubbub,
A Ddcn21_hubbub.c67 void dcn21_dchvm_init(struct hubbub *hubbub) in dcn21_dchvm_init() argument
103 hubbub->riommu_active = true; in dcn21_dchvm_init()
107 int hubbub21_init_dchub(struct hubbub *hubbub, in hubbub21_init_dchub() argument
136 dcn21_dchvm_init(hubbub); in hubbub21_init_dchub()
142 struct hubbub *hubbub, in hubbub21_program_urgent_watermarks() argument
336 struct hubbub *hubbub, in hubbub21_program_stutter_watermarks() argument
489 struct hubbub *hubbub, in hubbub21_program_pstate_watermarks() argument
575 struct hubbub *hubbub, in hubbub21_program_watermarks() argument
618 void hubbub21_wm_read_state(struct hubbub *hubbub, in hubbub21_wm_read_state() argument
683 void hubbub21_apply_DEDCN21_147_wa(struct hubbub *hubbub) in hubbub21_apply_DEDCN21_147_wa() argument
[all …]
A Ddcn21_resource.c939 if (pool->base.hubbub != NULL) { in dcn21_resource_destruct()
940 kfree(pool->base.hubbub); in dcn21_resource_destruct()
941 pool->base.hubbub = NULL; in dcn21_resource_destruct()
1454 static struct hubbub *dcn21_hubbub_create(struct dc_context *ctx) in dcn21_hubbub_create()
1461 if (!hubbub) in dcn21_hubbub_create()
1464 hubbub21_construct(hubbub, ctx, in dcn21_hubbub_create()
1470 struct dcn20_vmid *vmid = &hubbub->vmid[i]; in dcn21_hubbub_create()
1478 hubbub->num_vmid = res_cap_rn.num_vmid; in dcn21_hubbub_create()
1480 return &hubbub->base; in dcn21_hubbub_create()
2223 pool->base.hubbub = dcn21_hubbub_create(ctx); in dcn21_resource_construct()
[all …]
A Ddcn21_hwseq.c83 return dc->res_pool->hubbub->funcs->init_dchub_sys_ctx(dc->res_pool->hubbub, &config); in dcn21_init_sys_ctx()
/linux/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_hubbub.c51 static void dcn31_init_crb(struct hubbub *hubbub) in dcn31_init_crb() argument
148 struct hubbub *hubbub, in hubbub31_program_urgent_watermarks() argument
338 struct hubbub *hubbub, in hubbub31_program_stutter_watermarks() argument
611 struct hubbub *hubbub, in hubbub31_program_pstate_watermarks() argument
693 struct hubbub *hubbub, in hubbub31_program_watermarks() argument
727 hubbub1_allow_self_refresh_control(hubbub, !hubbub->ctx->dc->debug.disable_stutter); in hubbub31_program_watermarks()
777 static bool hubbub31_get_dcc_compression_cap(struct hubbub *hubbub, in hubbub31_get_dcc_compression_cap() argument
781 struct dc *dc = hubbub->ctx->dc; in hubbub31_get_dcc_compression_cap()
876 static int hubbub31_init_dchub_sys_ctx(struct hubbub *hubbub, in hubbub31_init_dchub_sys_ctx() argument
907 dcn21_dchvm_init(hubbub); in hubbub31_init_dchub_sys_ctx()
[all …]
A Ddcn31_hwseq.c157 if (res_pool->dccg && res_pool->hubbub) { in dcn31_init_hw()
163 (res_pool->hubbub->funcs->get_dchub_ref_freq)(res_pool->hubbub, in dcn31_init_hw()
248 if (dc->res_pool->hubbub->funcs->allow_self_refresh_control) in dcn31_init_hw()
249 dc->res_pool->hubbub->funcs->allow_self_refresh_control(dc->res_pool->hubbub, in dcn31_init_hw()
250 !dc->res_pool->hubbub->ctx->dc->debug.disable_stutter); in dcn31_init_hw()
293 dc->res_pool->hubbub->funcs->init_watermarks(dc->res_pool->hubbub); in dcn31_init_hw()
302 dc->res_pool->hubbub->funcs->force_pstate_change_control( in dcn31_init_hw()
303 dc->res_pool->hubbub, false, false); in dcn31_init_hw()
305 if (dc->res_pool->hubbub->funcs->init_crb) in dcn31_init_hw()
306 dc->res_pool->hubbub->funcs->init_crb(dc->res_pool->hubbub); in dcn31_init_hw()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/inc/
A Dcore_types.h219 struct hubbub *hubbub; member
/linux/drivers/gpu/drm/amd/display/dc/dcn301/
A Ddcn301_resource.c832 struct hubbub *dcn301_hubbub_create(struct dc_context *ctx) in dcn301_hubbub_create()
1091 if (pool->base.hubbub != NULL) { in dcn301_destruct()
1092 kfree(pool->base.hubbub); in dcn301_destruct()
1093 pool->base.hubbub = NULL; in dcn301_destruct()
1569 pool->base.hubbub = dcn301_hubbub_create(ctx); in dcn301_resource_construct()
1570 if (pool->base.hubbub == NULL) { in dcn301_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/dcn302/
A Ddcn302_resource.c388 static struct hubbub *dcn302_hubbub_create(struct dc_context *ctx) in dcn302_hubbub_create()
1161 if (pool->hubbub != NULL) { in dcn302_resource_destruct()
1162 kfree(pool->hubbub); in dcn302_resource_destruct()
1163 pool->hubbub = NULL; in dcn302_resource_destruct()
1632 pool->hubbub = dcn302_hubbub_create(ctx); in dcn302_resource_construct()
1633 if (pool->hubbub == NULL) { in dcn302_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/dcn303/
A Ddcn303_resource.c365 static struct hubbub *dcn303_hubbub_create(struct dc_context *ctx) in dcn303_hubbub_create()
1087 if (pool->hubbub != NULL) { in dcn303_resource_destruct()
1088 kfree(pool->hubbub); in dcn303_resource_destruct()
1089 pool->hubbub = NULL; in dcn303_resource_destruct()
1563 pool->hubbub = dcn303_hubbub_create(ctx); in dcn303_resource_construct()
1564 if (pool->hubbub == NULL) { in dcn303_resource_construct()

Completed in 58 milliseconds

12